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 /Xi | |
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 'Xi')
46 files changed, 0 insertions, 90 deletions
diff --git a/Xi/allowev.c b/Xi/allowev.c index 36b6caad5..5f0753d42 100644 --- a/Xi/allowev.c +++ b/Xi/allowev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chdevcur.c b/Xi/chdevcur.c index 121f7921d..b0d3ce341 100644 --- a/Xi/chdevcur.c +++ b/Xi/chdevcur.c @@ -29,8 +29,6 @@ * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chdevhier.c b/Xi/chdevhier.c index 631857d58..9d3c25dc7 100644 --- a/Xi/chdevhier.c +++ b/Xi/chdevhier.c @@ -30,8 +30,6 @@ */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c index 6044f6cd6..f5dd08a3c 100644 --- a/Xi/chgdctl.c +++ b/Xi/chgdctl.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgfctl.c b/Xi/chgfctl.c index 3155e87c2..e193e1384 100644 --- a/Xi/chgfctl.c +++ b/Xi/chgfctl.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgkbd.c b/Xi/chgkbd.c index 83de646f1..f9fd09902 100644 --- a/Xi/chgkbd.c +++ b/Xi/chgkbd.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgkmap.c b/Xi/chgkmap.c index 3f51648e1..854c17f3b 100644 --- a/Xi/chgkmap.c +++ b/Xi/chgkmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgprop.c b/Xi/chgprop.c index 3fb33e129..d8e37a7c7 100644 --- a/Xi/chgprop.c +++ b/Xi/chgprop.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/chgptr.c b/Xi/chgptr.c index 28950918f..6a4fbc342 100644 --- a/Xi/chgptr.c +++ b/Xi/chgptr.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/closedev.c b/Xi/closedev.c index 2be908c4a..159ead55c 100644 --- a/Xi/closedev.c +++ b/Xi/closedev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/devbell.c b/Xi/devbell.c index 264f64800..539da1814 100644 --- a/Xi/devbell.c +++ b/Xi/devbell.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/exevents.c b/Xi/exevents.c index 6d9b6671d..01feb0e46 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -52,7 +52,6 @@ SOFTWARE. * */ -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/extgrbdev.c b/Xi/extgrbdev.c index 050984a8e..af8706320 100644 --- a/Xi/extgrbdev.c +++ b/Xi/extgrbdev.c @@ -29,8 +29,6 @@ * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/extinit.c b/Xi/extinit.c index 7880497e7..62ec95897 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -52,8 +52,6 @@ SOFTWARE. #define NUMTYPES 15 -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getbmap.c b/Xi/getbmap.c index 9f93b06ef..4a788c66b 100644 --- a/Xi/getbmap.c +++ b/Xi/getbmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getcptr.c b/Xi/getcptr.c index ae45b13ae..c696afead 100644 --- a/Xi/getcptr.c +++ b/Xi/getcptr.c @@ -23,8 +23,6 @@ * Author: Peter Hutterer, University of South Australia, NICTA */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getdctl.c b/Xi/getdctl.c index c979959e2..abb4f9935 100644 --- a/Xi/getdctl.c +++ b/Xi/getdctl.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getfctl.c b/Xi/getfctl.c index 1b1e594a2..3a6dd4585 100644 --- a/Xi/getfctl.c +++ b/Xi/getfctl.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getfocus.c b/Xi/getfocus.c index dfef22fb7..69eadde87 100644 --- a/Xi/getfocus.c +++ b/Xi/getfocus.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getkmap.c b/Xi/getkmap.c index 0eec1d8df..540184682 100644 --- a/Xi/getkmap.c +++ b/Xi/getkmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getmmap.c b/Xi/getmmap.c index c6c9c3362..0ae2ccc52 100644 --- a/Xi/getmmap.c +++ b/Xi/getmmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getprop.c b/Xi/getprop.c index 188f549e5..dfa27f5cc 100644 --- a/Xi/getprop.c +++ b/Xi/getprop.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getselev.c b/Xi/getselev.c index caa376fcb..ea9bd9ba5 100644 --- a/Xi/getselev.c +++ b/Xi/getselev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/getvers.c b/Xi/getvers.c index 43a1a4d26..f8fd56e6d 100644 --- a/Xi/getvers.c +++ b/Xi/getvers.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/grabdev.c b/Xi/grabdev.c index 8217a9928..f032b4a42 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/grabdevb.c b/Xi/grabdevb.c index 98f7e117d..61ced4813 100644 --- a/Xi/grabdevb.c +++ b/Xi/grabdevb.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/grabdevk.c b/Xi/grabdevk.c index 6a245f25a..aefe11b1e 100644 --- a/Xi/grabdevk.c +++ b/Xi/grabdevk.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/gtmotion.c b/Xi/gtmotion.c index 8fa0cca29..55d45a363 100644 --- a/Xi/gtmotion.c +++ b/Xi/gtmotion.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/listdev.c b/Xi/listdev.c index ce549da50..04550e488 100644 --- a/Xi/listdev.c +++ b/Xi/listdev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/opendev.c b/Xi/opendev.c index c51bb7e3f..41edb0f90 100644 --- a/Xi/opendev.c +++ b/Xi/opendev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/querydp.c b/Xi/querydp.c index 744a295ff..8d8be8187 100644 --- a/Xi/querydp.c +++ b/Xi/querydp.c @@ -29,8 +29,6 @@ * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/queryst.c b/Xi/queryst.c index 21de843f3..6553aa88e 100644 --- a/Xi/queryst.c +++ b/Xi/queryst.c @@ -32,8 +32,6 @@ from The Open Group. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/selectev.c b/Xi/selectev.c index 9c336fce5..c3fc88ed9 100644 --- a/Xi/selectev.c +++ b/Xi/selectev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> diff --git a/Xi/sendexev.c b/Xi/sendexev.c index 9b37de307..63b45ee49 100644 --- a/Xi/sendexev.c +++ b/Xi/sendexev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/setbmap.c b/Xi/setbmap.c index f05225531..3c293c0db 100644 --- a/Xi/setbmap.c +++ b/Xi/setbmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #define IsOn(ptr, bit) \ (((BYTE *) (ptr))[(bit)>>3] & (1 << ((bit) & 7))) diff --git a/Xi/setcptr.c b/Xi/setcptr.c index 81ce66bd5..1e8281d0d 100644 --- a/Xi/setcptr.c +++ b/Xi/setcptr.c @@ -31,8 +31,6 @@ */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/setdval.c b/Xi/setdval.c index 20584629a..fe5f31691 100644 --- a/Xi/setdval.c +++ b/Xi/setdval.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/setfocus.c b/Xi/setfocus.c index c6edbc2e5..03bc37acb 100644 --- a/Xi/setfocus.c +++ b/Xi/setfocus.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/setmmap.c b/Xi/setmmap.c index 34efde595..ddfc1bd3e 100644 --- a/Xi/setmmap.c +++ b/Xi/setmmap.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS /* for inputstr.h */ -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/setmode.c b/Xi/setmode.c index 2badb5161..51e57675f 100644 --- a/Xi/setmode.c +++ b/Xi/setmode.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/stubs.c b/Xi/stubs.c index d01927c73..229394b93 100644 --- a/Xi/stubs.c +++ b/Xi/stubs.c @@ -54,7 +54,6 @@ SOFTWARE. * Xnest could do the same thing. */ -#define NEED_EVENTS #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/ungrdev.c b/Xi/ungrdev.c index f6525a287..b5b572a8e 100644 --- a/Xi/ungrdev.c +++ b/Xi/ungrdev.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/ungrdevb.c b/Xi/ungrdevb.c index d1aef5f13..a53dc5bdb 100644 --- a/Xi/ungrdevb.c +++ b/Xi/ungrdevb.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c index bc3ada987..8d9cdb17d 100644 --- a/Xi/ungrdevk.c +++ b/Xi/ungrdevk.c @@ -50,8 +50,6 @@ SOFTWARE. * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/warpdevp.c b/Xi/warpdevp.c index c8e8d6116..565317fe9 100644 --- a/Xi/warpdevp.c +++ b/Xi/warpdevp.c @@ -29,8 +29,6 @@ * */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> #endif diff --git a/Xi/xiselev.c b/Xi/xiselev.c index 0f8433451..0431939e7 100644 --- a/Xi/xiselev.c +++ b/Xi/xiselev.c @@ -23,8 +23,6 @@ * Author: Peter Hutterer, University of South Australia, NICTA */ -#define NEED_EVENTS -#define NEED_REPLIES #ifdef HAVE_DIX_CONFIG_H #include <dix-config.h> |