[PATCH] Proto major/minors shouldn't live in the extension header but the proto header

Benjamin Close Benjamin.Close at clearchain.com
Thu Feb 12 21:40:11 PST 2009


Previously the Xserver was pulling in the extension header rather than the proto header
this led to issues when compiling the xserver. Instead we shift the proto numbers to
the proto header and tell the X server to use the proto header. Hence it's possible
to compile the server without the lib again.

Signed-off-by: Benjamin Close <Benjamin.Close at clearchain.com>
---
 include/X11/extensions/panoramiXext.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/include/X11/extensions/panoramiXext.h b/include/X11/extensions/panoramiXext.h
index a302b82..9c75643 100644
--- a/include/X11/extensions/panoramiXext.h
+++ b/include/X11/extensions/panoramiXext.h
@@ -33,11 +33,6 @@ Equipment Corporation.
 
 #include <X11/Xfuncproto.h>
 
-#define PANORAMIX_MAJOR_VERSION         1       /* current version number */
-#define PANORAMIX_MINOR_VERSION         1
-
-#ifndef _PANORAMIX_SERVER
-
 typedef struct {
     Window  window;         /* PanoramiX window - may not exist */
     int	    screen;
@@ -87,6 +82,4 @@ extern Status XPanoramiXGetScreenSize (
 
 _XFUNCPROTOEND
 
-#endif /* _PANORAMIX_SERVER */
-
 #endif /* _panoramiXext_h */
-- 
1.6.0.6



More information about the xorg-devel mailing list