[PATCH 1/2] Remove two unused defines in C files
Tomas Carnecky
tom at dbservice.com
Fri Mar 20 08:19:33 PDT 2009
These two defines were defined in C files but not used anywhere:
dix/window.c #define DeviceEventMasks (KeyPressMask | [...]
os/connection.c #define MAXFD 500
Signed-off-by: Tomas Carnecky <tom at dbservice.com>
---
dix/window.c | 3 ---
os/connection.c | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dix/window.c b/dix/window.c
index e2669f0..f112f81 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -984,9 +984,6 @@ DestroySubwindows(WindowPtr pWin, ClientPtr client)
return Success;
}
-#define DeviceEventMasks (KeyPressMask | KeyReleaseMask | ButtonPressMask | \
- ButtonReleaseMask | PointerMotionMask)
-
/*****
* ChangeWindowAttributes
*
diff --git a/os/connection.c b/os/connection.c
index 14c91b5..a6270b3 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -172,7 +172,6 @@ int *ConnectionTranslation = NULL;
#define MAXSOCKS 500
#undef MAXSELECT
#define MAXSELECT 500
-#define MAXFD 500
struct _ct_node {
struct _ct_node *next;
--
1.6.2
More information about the xorg-devel
mailing list