diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-28 22:28:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-12-12 11:43:32 +1000 |
commit | cb95642dc8edebb2935dd471f8b339cb98aa8481 (patch) | |
tree | 30b96e2634f8cf52fad86bd853aa53d228e0193e /Xext | |
parent | 920b7622be4a68ebb5d8432f55c5362fbe964fce (diff) |
Remove #define NEED_EVENTS and NEED_REPLIES
A grep on xorg/* revealed there's no consumer of this define.
Quote Alan Coopersmith:
"The consumer was in past versions of the headers now located
in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h,
all the event definitions were only available if NEED_EVENTS were
defined, and all the reply definitions required NEED_REPLIES.
Looks like Xproto.h dropped them by X11R6.3, which didn't have
the #ifdef's anymore, so these are truly ancient now."
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/bigreq.c | 1 | ||||
-rw-r--r-- | Xext/geint.h | 1 | ||||
-rw-r--r-- | Xext/mbuf.c | 2 | ||||
-rw-r--r-- | Xext/mbufbf.c | 2 | ||||
-rw-r--r-- | Xext/mbufpx.c | 2 | ||||
-rw-r--r-- | Xext/panoramiX.c | 1 | ||||
-rw-r--r-- | Xext/panoramiXprocs.c | 2 | ||||
-rw-r--r-- | Xext/saver.c | 2 | ||||
-rw-r--r-- | Xext/shape.c | 2 | ||||
-rw-r--r-- | Xext/shm.c | 2 | ||||
-rw-r--r-- | Xext/sync.c | 2 | ||||
-rw-r--r-- | Xext/xcalibrate.c | 2 | ||||
-rw-r--r-- | Xext/xcmisc.c | 2 | ||||
-rw-r--r-- | Xext/xres.c | 2 | ||||
-rw-r--r-- | Xext/xtest.c | 1 | ||||
-rw-r--r-- | Xext/xvmc.c | 2 |
16 files changed, 0 insertions, 28 deletions
diff --git a/Xext/bigreq.c b/Xext/bigreq.c index 1e807d820..7ea69a874 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -26,7 +26,6 @@ from The Open Group. */ -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/geint.h b/Xext/geint.h index b7f0265a1..881d30661 100644 --- a/Xext/geint.h +++ b/Xext/geint.h @@ -29,7 +29,6 @@ #ifndef _GEINT_H_ #define _GEINT_H_ -#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/Xext/mbuf.c b/Xext/mbuf.c index 39b8ba11e..81b704f2f 100644 --- a/Xext/mbuf.c +++ b/Xext/mbuf.c @@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group. ********************************************************/ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/mbufbf.c b/Xext/mbufbf.c index e929ab5fd..877ccaabd 100644 --- a/Xext/mbufbf.c +++ b/Xext/mbufbf.c @@ -25,8 +25,6 @@ in this Software without prior written authorization from The Open Group. */ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/mbufpx.c b/Xext/mbufpx.c index 21d525906..01811d9a2 100644 --- a/Xext/mbufpx.c +++ b/Xext/mbufpx.c @@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group. ********************************************************/ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 09587c4ed..043966877 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -31,7 +31,6 @@ Equipment Corporation. #include <dmx-config.h> #endif -#define NEED_REPLIES #include <stdio.h> #include <X11/X.h> #include <X11/Xproto.h> diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 38199a5df..0f9096fe5 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -32,8 +32,6 @@ Equipment Corporation. #include <stdio.h> #include <X11/X.h> -#define NEED_REPLIES -#define NEED_EVENTS #include <X11/Xproto.h> #include "windowstr.h" #include "dixfontstr.h" diff --git a/Xext/saver.c b/Xext/saver.c index 0bdcb8b94..7a5b2c70e 100644 --- a/Xext/saver.c +++ b/Xext/saver.c @@ -27,8 +27,6 @@ in this Software without prior written authorization from the X Consortium. */ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/shape.c b/Xext/shape.c index aaef0cb14..8e1da87ba 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group. ********************************************************/ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/shm.c b/Xext/shm.c index de364be3a..ce566b601 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -38,8 +38,6 @@ in this Software without prior written authorization from The Open Group. #include <sys/shm.h> #include <unistd.h> #include <sys/stat.h> -#define NEED_REPLIES -#define NEED_EVENTS #include <X11/X.h> #include <X11/Xproto.h> #include "misc.h" diff --git a/Xext/sync.c b/Xext/sync.c index 51d113ef5..f8870a77c 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -50,8 +50,6 @@ PERFORMANCE OF THIS SOFTWARE. */ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/xcalibrate.c b/Xext/xcalibrate.c index 3e05e6ca2..f923c17a1 100644 --- a/Xext/xcalibrate.c +++ b/Xext/xcalibrate.c @@ -24,8 +24,6 @@ #include <kdrive-config.h> #endif -#define NEED_EVENTS -#define NEED_REPLIES #include <X11/X.h> #include <X11/Xproto.h> diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c index 1ee173bd6..4f928961d 100644 --- a/Xext/xcmisc.c +++ b/Xext/xcmisc.c @@ -26,8 +26,6 @@ from The Open Group. */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/xres.c b/Xext/xres.c index bdc534c91..5c04c1184 100644 --- a/Xext/xres.c +++ b/Xext/xres.c @@ -2,8 +2,6 @@ Copyright (c) 2002 XFree86 Inc */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xext/xtest.c b/Xext/xtest.c index 1290a236c..87936402a 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -31,7 +31,6 @@ #endif #include <X11/X.h> -#define NEED_EVENTS #include <X11/Xproto.h> #include "misc.h" #include "os.h" diff --git a/Xext/xvmc.c b/Xext/xvmc.c index 359e954d9..091e5a1a0 100644 --- a/Xext/xvmc.c +++ b/Xext/xvmc.c @@ -1,6 +1,4 @@ -#define NEED_REPLIES -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif |