diff --git a/dix/window.c b/dix/window.c index e2669f0c5e..f112f81d44 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 14c91b5414..a6270b38a0 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;