summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-28 22:28:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-12 11:43:32 +1000
commitcb95642dc8edebb2935dd471f8b339cb98aa8481 (patch)
tree30b96e2634f8cf52fad86bd853aa53d228e0193e /dix
parent920b7622be4a68ebb5d8432f55c5362fbe964fce (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 'dix')
-rw-r--r--dix/colormap.c1
-rw-r--r--dix/devices.c2
-rw-r--r--dix/dixfonts.c1
-rw-r--r--dix/events.c2
-rw-r--r--dix/extension.c2
-rw-r--r--dix/getevents.c2
-rw-r--r--dix/grabs.c1
-rw-r--r--dix/main.c1
-rw-r--r--dix/property.c2
-rw-r--r--dix/resource.c1
-rw-r--r--dix/swaprep.c2
-rw-r--r--dix/swapreq.c1
-rw-r--r--dix/tables.c2
13 files changed, 0 insertions, 20 deletions
diff --git a/dix/colormap.c b/dix/colormap.c
index 3f22a4759..23b755f92 100644
--- a/dix/colormap.c
+++ b/dix/colormap.c
@@ -51,7 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include <stdio.h>
#include <string.h>
diff --git a/dix/devices.c b/dix/devices.c
index 763466831..d8cc15691 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -54,8 +54,6 @@ SOFTWARE.
#include <X11/X.h>
#include "misc.h"
#include "resource.h"
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include "windowstr.h"
diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index 416adb352..15d011c1d 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -48,7 +48,6 @@ Equipment Corporation.
******************************************************************/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/dix/events.c b/dix/events.c
index 45cd608b1..e30f40b17 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -120,8 +120,6 @@ of the copyright holder.
#include <X11/keysym.h>
#include "misc.h"
#include "resource.h"
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"
diff --git a/dix/extension.c b/dix/extension.c
index 289705fd5..b408da944 100644
--- a/dix/extension.c
+++ b/dix/extension.c
@@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"
diff --git a/dix/getevents.c b/dix/getevents.c
index f53f3c347..2c47849be 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -30,8 +30,6 @@
#include <X11/X.h>
#include <X11/keysym.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <X11/Xproto.h>
#include "misc.h"
diff --git a/dix/grabs.c b/dix/grabs.c
index b372d8f1b..8878cb7a3 100644
--- a/dix/grabs.c
+++ b/dix/grabs.c
@@ -52,7 +52,6 @@ SOFTWARE.
#include <X11/X.h>
#include "misc.h"
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"
diff --git a/dix/main.c b/dix/main.c
index 354599157..4a062b7f1 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -74,7 +74,6 @@ Equipment Corporation.
******************************************************************/
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/dix/property.c b/dix/property.c
index c653318d4..91839c940 100644
--- a/dix/property.c
+++ b/dix/property.c
@@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include "windowstr.h"
#include "propertyst.h"
diff --git a/dix/resource.c b/dix/resource.c
index c05d68187..31ad46ec5 100644
--- a/dix/resource.c
+++ b/dix/resource.c
@@ -124,7 +124,6 @@ Equipment Corporation.
* resource "owned" by the client.
*/
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/dix/swaprep.c b/dix/swaprep.c
index e7a4271f7..af82f82ef 100644
--- a/dix/swaprep.c
+++ b/dix/swaprep.c
@@ -51,8 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"
diff --git a/dix/swapreq.c b/dix/swapreq.c
index 1b8f352f5..5d7d71c8f 100644
--- a/dix/swapreq.c
+++ b/dix/swapreq.c
@@ -51,7 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include <X11/Xprotostr.h>
#include "misc.h"
diff --git a/dix/tables.c b/dix/tables.c
index e795ada09..5aafb8b0f 100644
--- a/dix/tables.c
+++ b/dix/tables.c
@@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <X11/Xproto.h>
#include "windowstr.h"
#include "extnsionst.h"