aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-07-05 22:56:01 +0200
committerGitHub <noreply@github.com>2016-07-05 22:56:01 +0200
commitd7655e15ad28ad7f6a326624f90764485d3c2e35 (patch)
treeccc16c8d436f49c6b3b119e39dc9d38731af2cbd /nx-X11/lib
parentff0d46e0b621d5ecaeb730a1c002d893ca5cb032 (diff)
parentfa651994740d4381d8a8ab72e2ac3ef38fba3dde (diff)
downloadnx-libs-d7655e15ad28ad7f6a326624f90764485d3c2e35.tar.gz
nx-libs-d7655e15ad28ad7f6a326624f90764485d3c2e35.tar.bz2
nx-libs-d7655e15ad28ad7f6a326624f90764485d3c2e35.zip
Merge pull request #180 from uli42/pr/remove_need_events_replies
remove NEED_EVENTS/NEED_REPLIES
Diffstat (limited to 'nx-X11/lib')
-rw-r--r--nx-X11/lib/X11/AllCells.c2
-rw-r--r--nx-X11/lib/X11/AllPlanes.c1
-rw-r--r--nx-X11/lib/X11/ChkIfEv.c1
-rw-r--r--nx-X11/lib/X11/ChkMaskEv.c1
-rw-r--r--nx-X11/lib/X11/ChkTypEv.c1
-rw-r--r--nx-X11/lib/X11/ChkTypWEv.c1
-rw-r--r--nx-X11/lib/X11/ChkWinEv.c1
-rw-r--r--nx-X11/lib/X11/ConnDis.c2
-rw-r--r--nx-X11/lib/X11/EvToWire.c2
-rw-r--r--nx-X11/lib/X11/FilterEv.c1
-rw-r--r--nx-X11/lib/X11/Font.c1
-rw-r--r--nx-X11/lib/X11/FontInfo.c1
-rw-r--r--nx-X11/lib/X11/FontNames.c1
-rw-r--r--nx-X11/lib/X11/GetAtomNm.c1
-rw-r--r--nx-X11/lib/X11/GetColor.c1
-rw-r--r--nx-X11/lib/X11/GetFPath.c1
-rw-r--r--nx-X11/lib/X11/GetGeom.c1
-rw-r--r--nx-X11/lib/X11/GetHColor.c1
-rw-r--r--nx-X11/lib/X11/GetIFocus.c1
-rw-r--r--nx-X11/lib/X11/GetImage.c1
-rw-r--r--nx-X11/lib/X11/GetKCnt.c1
-rw-r--r--nx-X11/lib/X11/GetMoEv.c1
-rw-r--r--nx-X11/lib/X11/GetPCnt.c1
-rw-r--r--nx-X11/lib/X11/GetPntMap.c1
-rw-r--r--nx-X11/lib/X11/GetProp.c1
-rw-r--r--nx-X11/lib/X11/GetSOwner.c1
-rw-r--r--nx-X11/lib/X11/GetSSaver.c1
-rw-r--r--nx-X11/lib/X11/GetWAttrs.c1
-rw-r--r--nx-X11/lib/X11/GrKeybd.c1
-rw-r--r--nx-X11/lib/X11/GrPointer.c1
-rw-r--r--nx-X11/lib/X11/ICWrap.c1
-rw-r--r--nx-X11/lib/X11/Iconify.c1
-rw-r--r--nx-X11/lib/X11/IfEvent.c1
-rw-r--r--nx-X11/lib/X11/ImText.c1
-rw-r--r--nx-X11/lib/X11/ImText16.c1
-rw-r--r--nx-X11/lib/X11/IntAtom.c1
-rw-r--r--nx-X11/lib/X11/KeyBind.c1
-rw-r--r--nx-X11/lib/X11/LiHosts.c1
-rw-r--r--nx-X11/lib/X11/LiICmaps.c1
-rw-r--r--nx-X11/lib/X11/LiProps.c1
-rw-r--r--nx-X11/lib/X11/ListExt.c1
-rw-r--r--nx-X11/lib/X11/LookupCol.c1
-rw-r--r--nx-X11/lib/X11/MaskEvent.c1
-rw-r--r--nx-X11/lib/X11/ModMap.c1
-rw-r--r--nx-X11/lib/X11/NextEvent.c1
-rw-r--r--nx-X11/lib/X11/OpenDis.c2
-rw-r--r--nx-X11/lib/X11/ParseCol.c1
-rw-r--r--nx-X11/lib/X11/PeekEvent.c1
-rw-r--r--nx-X11/lib/X11/PeekIfEv.c1
-rw-r--r--nx-X11/lib/X11/PutBEvent.c1
-rw-r--r--nx-X11/lib/X11/QuBest.c1
-rw-r--r--nx-X11/lib/X11/QuColor.c1
-rw-r--r--nx-X11/lib/X11/QuColors.c1
-rw-r--r--nx-X11/lib/X11/QuCurShp.c1
-rw-r--r--nx-X11/lib/X11/QuExt.c1
-rw-r--r--nx-X11/lib/X11/QuKeybd.c1
-rw-r--r--nx-X11/lib/X11/QuPntr.c1
-rw-r--r--nx-X11/lib/X11/QuStipShp.c1
-rw-r--r--nx-X11/lib/X11/QuTextE16.c1
-rw-r--r--nx-X11/lib/X11/QuTextExt.c1
-rw-r--r--nx-X11/lib/X11/QuTileShp.c1
-rw-r--r--nx-X11/lib/X11/QuTree.c1
-rw-r--r--nx-X11/lib/X11/ReconfWM.c2
-rw-r--r--nx-X11/lib/X11/SendEvent.c1
-rw-r--r--nx-X11/lib/X11/SetPntMap.c2
-rw-r--r--nx-X11/lib/X11/Sync.c2
-rw-r--r--nx-X11/lib/X11/TrCoords.c1
-rw-r--r--nx-X11/lib/X11/WinEvent.c1
-rw-r--r--nx-X11/lib/X11/Withdraw.c1
-rw-r--r--nx-X11/lib/X11/XDefaultIMIF.c1
-rw-r--r--nx-X11/lib/X11/XKB.c2
-rw-r--r--nx-X11/lib/X11/XKBAlloc.c4
-rw-r--r--nx-X11/lib/X11/XKBBell.c2
-rw-r--r--nx-X11/lib/X11/XKBBind.c1
-rw-r--r--nx-X11/lib/X11/XKBCompat.c2
-rw-r--r--nx-X11/lib/X11/XKBCtrls.c2
-rw-r--r--nx-X11/lib/X11/XKBCvt.c1
-rw-r--r--nx-X11/lib/X11/XKBExtDev.c2
-rw-r--r--nx-X11/lib/X11/XKBGAlloc.c3
-rw-r--r--nx-X11/lib/X11/XKBGeom.c2
-rw-r--r--nx-X11/lib/X11/XKBGetByName.c2
-rw-r--r--nx-X11/lib/X11/XKBGetMap.c2
-rw-r--r--nx-X11/lib/X11/XKBList.c2
-rw-r--r--nx-X11/lib/X11/XKBMAlloc.c4
-rw-r--r--nx-X11/lib/X11/XKBMisc.c4
-rw-r--r--nx-X11/lib/X11/XKBNames.c2
-rw-r--r--nx-X11/lib/X11/XKBRdBuf.c2
-rw-r--r--nx-X11/lib/X11/XKBSetGeom.c2
-rw-r--r--nx-X11/lib/X11/XKBSetMap.c2
-rw-r--r--nx-X11/lib/X11/XKBUse.c2
-rw-r--r--nx-X11/lib/X11/XKBleds.c2
-rw-r--r--nx-X11/lib/X11/XlibAsync.c1
-rw-r--r--nx-X11/lib/X11/XlibInt.c2
-rw-r--r--nx-X11/lib/X11/Xlibint.h3
-rw-r--r--nx-X11/lib/X11/cmsAllNCol.c1
-rw-r--r--nx-X11/lib/X11/cmsCmap.c2
-rw-r--r--nx-X11/lib/X11/cmsInt.c1
-rw-r--r--nx-X11/lib/X11/cmsLkCol.c1
-rw-r--r--nx-X11/lib/X11/globals.c1
-rw-r--r--nx-X11/lib/X11/imConv.c1
-rw-r--r--nx-X11/lib/X11/imDefFlt.c1
-rw-r--r--nx-X11/lib/X11/imDefIm.c1
-rw-r--r--nx-X11/lib/X11/imDefLkup.c1
-rw-r--r--nx-X11/lib/X11/imEvToWire.c2
-rw-r--r--nx-X11/lib/X11/imExten.c1
-rw-r--r--nx-X11/lib/X11/imInsClbk.c1
-rw-r--r--nx-X11/lib/X11/imLcFlt.c1
-rw-r--r--nx-X11/lib/X11/imLcGIc.c1
-rw-r--r--nx-X11/lib/X11/imTrX.c1
-rw-r--r--nx-X11/lib/X11/imTrans.c1
-rw-r--r--nx-X11/lib/xkbfile/maprules.c1
-rw-r--r--nx-X11/lib/xkbfile/xkbconfig.c1
-rw-r--r--nx-X11/lib/xkbfile/xkbmisc.c1
-rw-r--r--nx-X11/lib/xkbfile/xkbout.c1
-rw-r--r--nx-X11/lib/xkbfile/xkbtext.c1
-rw-r--r--nx-X11/lib/xkbfile/xkmread.c1
116 files changed, 0 insertions, 154 deletions
diff --git a/nx-X11/lib/X11/AllCells.c b/nx-X11/lib/X11/AllCells.c
index ed7bc8453..9fbf87c8d 100644
--- a/nx-X11/lib/X11/AllCells.c
+++ b/nx-X11/lib/X11/AllCells.c
@@ -25,8 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/AllPlanes.c b/nx-X11/lib/X11/AllPlanes.c
index 079422bee..12ab36fab 100644
--- a/nx-X11/lib/X11/AllPlanes.c
+++ b/nx-X11/lib/X11/AllPlanes.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/AllPlanes.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ChkIfEv.c b/nx-X11/lib/X11/ChkIfEv.c
index 0217af830..d0f9d6272 100644
--- a/nx-X11/lib/X11/ChkIfEv.c
+++ b/nx-X11/lib/X11/ChkIfEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86$ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ChkMaskEv.c b/nx-X11/lib/X11/ChkMaskEv.c
index 92b569f72..29f465700 100644
--- a/nx-X11/lib/X11/ChkMaskEv.c
+++ b/nx-X11/lib/X11/ChkMaskEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChkMaskEv.c,v 3.5 2001/10/28 03:32:29 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ChkTypEv.c b/nx-X11/lib/X11/ChkTypEv.c
index 8fd879d1a..fd40afb94 100644
--- a/nx-X11/lib/X11/ChkTypEv.c
+++ b/nx-X11/lib/X11/ChkTypEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChkTypEv.c,v 1.2 2001/10/28 03:32:29 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ChkTypWEv.c b/nx-X11/lib/X11/ChkTypWEv.c
index 83b6244df..1be4d2a17 100644
--- a/nx-X11/lib/X11/ChkTypWEv.c
+++ b/nx-X11/lib/X11/ChkTypWEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChkTypWEv.c,v 1.2 2001/10/28 03:32:29 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ChkWinEv.c b/nx-X11/lib/X11/ChkWinEv.c
index 91d9b30ed..9b60ab43b 100644
--- a/nx-X11/lib/X11/ChkWinEv.c
+++ b/nx-X11/lib/X11/ChkWinEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ChkWinEv.c,v 3.5 2001/10/28 03:32:30 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ConnDis.c b/nx-X11/lib/X11/ConnDis.c
index 177ff2c59..0989292ec 100644
--- a/nx-X11/lib/X11/ConnDis.c
+++ b/nx-X11/lib/X11/ConnDis.c
@@ -49,8 +49,6 @@ in this Software without prior written authorization from The Open Group.
* This file contains operating system dependencies.
*/
-#define NEED_EVENTS
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/EvToWire.c b/nx-X11/lib/X11/EvToWire.c
index 143352791..0fb3068c0 100644
--- a/nx-X11/lib/X11/EvToWire.c
+++ b/nx-X11/lib/X11/EvToWire.c
@@ -33,8 +33,6 @@ from The Open Group.
* XEvToWire.c - Internal support routines for the C subroutine
* interface library (Xlib) to the X Window System Protocol V11.0.
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/FilterEv.c b/nx-X11/lib/X11/FilterEv.c
index 0117291b2..469207793 100644
--- a/nx-X11/lib/X11/FilterEv.c
+++ b/nx-X11/lib/X11/FilterEv.c
@@ -55,7 +55,6 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/FilterEv.c,v 3.4 2001/07/29 05:01:11 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#else
diff --git a/nx-X11/lib/X11/Font.c b/nx-X11/lib/X11/Font.c
index 8c8d1e443..bb56c96a3 100644
--- a/nx-X11/lib/X11/Font.c
+++ b/nx-X11/lib/X11/Font.c
@@ -29,7 +29,6 @@ authorization from the X Consortium and the XFree86 Project.
*/
/* $XFree86: xc/lib/X11/Font.c,v 1.17 2003/04/13 19:22:16 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/FontInfo.c b/nx-X11/lib/X11/FontInfo.c
index bc096fef7..815045d01 100644
--- a/nx-X11/lib/X11/FontInfo.c
+++ b/nx-X11/lib/X11/FontInfo.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/FontInfo.c,v 1.6 2001/12/14 19:54:00 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/FontNames.c b/nx-X11/lib/X11/FontNames.c
index 0db27a222..03785b5a6 100644
--- a/nx-X11/lib/X11/FontNames.c
+++ b/nx-X11/lib/X11/FontNames.c
@@ -27,7 +27,6 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/FontNames.c,v 1.6 2001/12/14 19:54:00 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetAtomNm.c b/nx-X11/lib/X11/GetAtomNm.c
index 1bba975d3..fab3eea28 100644
--- a/nx-X11/lib/X11/GetAtomNm.c
+++ b/nx-X11/lib/X11/GetAtomNm.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetAtomNm.c,v 3.4 2001/08/18 02:41:28 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetColor.c b/nx-X11/lib/X11/GetColor.c
index 530f479db..6bd9a4220 100644
--- a/nx-X11/lib/X11/GetColor.c
+++ b/nx-X11/lib/X11/GetColor.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetColor.c,v 1.6 2003/04/13 19:22:16 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetFPath.c b/nx-X11/lib/X11/GetFPath.c
index 03ad5daf9..55d36b1df 100644
--- a/nx-X11/lib/X11/GetFPath.c
+++ b/nx-X11/lib/X11/GetFPath.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetFPath.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetGeom.c b/nx-X11/lib/X11/GetGeom.c
index 842df3350..cbe956f87 100644
--- a/nx-X11/lib/X11/GetGeom.c
+++ b/nx-X11/lib/X11/GetGeom.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetHColor.c b/nx-X11/lib/X11/GetHColor.c
index 647cc11c9..61ab11e9c 100644
--- a/nx-X11/lib/X11/GetHColor.c
+++ b/nx-X11/lib/X11/GetHColor.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetIFocus.c b/nx-X11/lib/X11/GetIFocus.c
index 13cab18a9..5618196a9 100644
--- a/nx-X11/lib/X11/GetIFocus.c
+++ b/nx-X11/lib/X11/GetIFocus.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetIFocus.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetImage.c b/nx-X11/lib/X11/GetImage.c
index 634910d79..822455e59 100644
--- a/nx-X11/lib/X11/GetImage.c
+++ b/nx-X11/lib/X11/GetImage.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetImage.c,v 1.4 2001/12/14 19:54:00 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetKCnt.c b/nx-X11/lib/X11/GetKCnt.c
index 47f806472..05d597af8 100644
--- a/nx-X11/lib/X11/GetKCnt.c
+++ b/nx-X11/lib/X11/GetKCnt.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetKCnt.c,v 1.5 2001/01/17 19:41:36 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetMoEv.c b/nx-X11/lib/X11/GetMoEv.c
index e332ecfeb..45a9cee3d 100644
--- a/nx-X11/lib/X11/GetMoEv.c
+++ b/nx-X11/lib/X11/GetMoEv.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetPCnt.c b/nx-X11/lib/X11/GetPCnt.c
index 0883abada..e96e5b1f1 100644
--- a/nx-X11/lib/X11/GetPCnt.c
+++ b/nx-X11/lib/X11/GetPCnt.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetPCnt.c,v 1.3 2001/01/17 19:41:36 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetPntMap.c b/nx-X11/lib/X11/GetPntMap.c
index 7a93ad794..8a873c416 100644
--- a/nx-X11/lib/X11/GetPntMap.c
+++ b/nx-X11/lib/X11/GetPntMap.c
@@ -27,7 +27,6 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/GetPntMap.c,v 1.6 2001/12/14 19:54:01 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetProp.c b/nx-X11/lib/X11/GetProp.c
index af5525702..e1caab934 100644
--- a/nx-X11/lib/X11/GetProp.c
+++ b/nx-X11/lib/X11/GetProp.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetProp.c,v 1.5 2001/10/28 03:32:30 tsi Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetSOwner.c b/nx-X11/lib/X11/GetSOwner.c
index 30d57023d..2d35ca195 100644
--- a/nx-X11/lib/X11/GetSOwner.c
+++ b/nx-X11/lib/X11/GetSOwner.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetSSaver.c b/nx-X11/lib/X11/GetSSaver.c
index fc124eb55..f99d54f2e 100644
--- a/nx-X11/lib/X11/GetSSaver.c
+++ b/nx-X11/lib/X11/GetSSaver.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/GetSSaver.c,v 1.3 2001/01/17 19:41:37 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GetWAttrs.c b/nx-X11/lib/X11/GetWAttrs.c
index 05f1c1124..6dcdaef22 100644
--- a/nx-X11/lib/X11/GetWAttrs.c
+++ b/nx-X11/lib/X11/GetWAttrs.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GrKeybd.c b/nx-X11/lib/X11/GrKeybd.c
index af587926a..a4f2cafae 100644
--- a/nx-X11/lib/X11/GrKeybd.c
+++ b/nx-X11/lib/X11/GrKeybd.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/GrPointer.c b/nx-X11/lib/X11/GrPointer.c
index 39351f424..7c140804e 100644
--- a/nx-X11/lib/X11/GrPointer.c
+++ b/nx-X11/lib/X11/GrPointer.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ICWrap.c b/nx-X11/lib/X11/ICWrap.c
index b51da6f41..765457c32 100644
--- a/nx-X11/lib/X11/ICWrap.c
+++ b/nx-X11/lib/X11/ICWrap.c
@@ -66,7 +66,6 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/ICWrap.c,v 1.10 2003/04/25 14:12:38 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/Iconify.c b/nx-X11/lib/X11/Iconify.c
index e68508666..1077d9585 100644
--- a/nx-X11/lib/X11/Iconify.c
+++ b/nx-X11/lib/X11/Iconify.c
@@ -50,7 +50,6 @@ from The Open Group.
*/
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/IfEvent.c b/nx-X11/lib/X11/IfEvent.c
index 9cf07f56d..e3c27b301 100644
--- a/nx-X11/lib/X11/IfEvent.c
+++ b/nx-X11/lib/X11/IfEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/IfEvent.c,v 1.4 2001/12/14 19:54:01 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ImText.c b/nx-X11/lib/X11/ImText.c
index 4d2f147dc..dad5bc92a 100644
--- a/nx-X11/lib/X11/ImText.c
+++ b/nx-X11/lib/X11/ImText.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ImText.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ImText16.c b/nx-X11/lib/X11/ImText16.c
index d0b5e9bca..ef2752ba2 100644
--- a/nx-X11/lib/X11/ImText16.c
+++ b/nx-X11/lib/X11/ImText16.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ImText16.c,v 1.4 2001/12/14 19:54:02 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/IntAtom.c b/nx-X11/lib/X11/IntAtom.c
index 8161c7f73..714337c39 100644
--- a/nx-X11/lib/X11/IntAtom.c
+++ b/nx-X11/lib/X11/IntAtom.c
@@ -28,7 +28,6 @@ from The Open Group.
*/
/* $XFree86: xc/lib/X11/IntAtom.c,v 1.6 2001/12/14 19:54:02 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/KeyBind.c b/nx-X11/lib/X11/KeyBind.c
index d99cfdf2f..4fc490972 100644
--- a/nx-X11/lib/X11/KeyBind.c
+++ b/nx-X11/lib/X11/KeyBind.c
@@ -28,7 +28,6 @@ in this Software without prior written authorization from The Open Group.
/* Beware, here be monsters (still under construction... - JG */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/LiHosts.c b/nx-X11/lib/X11/LiHosts.c
index 59e2ae318..4dce4a0e8 100644
--- a/nx-X11/lib/X11/LiHosts.c
+++ b/nx-X11/lib/X11/LiHosts.c
@@ -38,7 +38,6 @@ X Window System is a trademark of The Open Group.
/* This can really be considered an os dependent routine */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/LiICmaps.c b/nx-X11/lib/X11/LiICmaps.c
index c36fe55a6..72ebc4c54 100644
--- a/nx-X11/lib/X11/LiICmaps.c
+++ b/nx-X11/lib/X11/LiICmaps.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/LiICmaps.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/LiProps.c b/nx-X11/lib/X11/LiProps.c
index 5e3aba8c0..90021bab8 100644
--- a/nx-X11/lib/X11/LiProps.c
+++ b/nx-X11/lib/X11/LiProps.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/LiProps.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ListExt.c b/nx-X11/lib/X11/ListExt.c
index 1140082e5..9c01a8ee9 100644
--- a/nx-X11/lib/X11/ListExt.c
+++ b/nx-X11/lib/X11/ListExt.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ListExt.c,v 1.3 2001/01/17 19:41:39 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/LookupCol.c b/nx-X11/lib/X11/LookupCol.c
index 02f831a6c..08285c18a 100644
--- a/nx-X11/lib/X11/LookupCol.c
+++ b/nx-X11/lib/X11/LookupCol.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/LookupCol.c,v 1.6 2003/04/13 19:22:16 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/MaskEvent.c b/nx-X11/lib/X11/MaskEvent.c
index a46766685..f7b69e346 100644
--- a/nx-X11/lib/X11/MaskEvent.c
+++ b/nx-X11/lib/X11/MaskEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/MaskEvent.c,v 3.5 2001/10/28 03:32:30 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ModMap.c b/nx-X11/lib/X11/ModMap.c
index f321c81bb..3c2b2ddef 100644
--- a/nx-X11/lib/X11/ModMap.c
+++ b/nx-X11/lib/X11/ModMap.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ModMap.c,v 1.4 2001/12/14 19:54:03 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/NextEvent.c b/nx-X11/lib/X11/NextEvent.c
index 71d84223e..2efef6f13 100644
--- a/nx-X11/lib/X11/NextEvent.c
+++ b/nx-X11/lib/X11/NextEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/NextEvent.c,v 1.3 2001/01/17 19:41:40 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/OpenDis.c b/nx-X11/lib/X11/OpenDis.c
index 67f7ccbd1..691fa95e9 100644
--- a/nx-X11/lib/X11/OpenDis.c
+++ b/nx-X11/lib/X11/OpenDis.c
@@ -44,8 +44,6 @@ in this Software without prior written authorization from The Open Group.
/* $XFree86: xc/lib/X11/OpenDis.c,v 3.16 2003/07/04 16:24:23 eich Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ParseCol.c b/nx-X11/lib/X11/ParseCol.c
index 3736fada2..116ad0021 100644
--- a/nx-X11/lib/X11/ParseCol.c
+++ b/nx-X11/lib/X11/ParseCol.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/ParseCol.c,v 1.6 2003/04/13 19:22:17 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/PeekEvent.c b/nx-X11/lib/X11/PeekEvent.c
index b8d755f0a..8017feca7 100644
--- a/nx-X11/lib/X11/PeekEvent.c
+++ b/nx-X11/lib/X11/PeekEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PeekEvent.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/PeekIfEv.c b/nx-X11/lib/X11/PeekIfEv.c
index 93a725b49..47d3dca63 100644
--- a/nx-X11/lib/X11/PeekIfEv.c
+++ b/nx-X11/lib/X11/PeekIfEv.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/PeekIfEv.c,v 1.4 2001/12/14 19:54:03 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/PutBEvent.c b/nx-X11/lib/X11/PutBEvent.c
index 8c1db72a7..6e6974f0b 100644
--- a/nx-X11/lib/X11/PutBEvent.c
+++ b/nx-X11/lib/X11/PutBEvent.c
@@ -29,7 +29,6 @@ from The Open Group.
/* $XFree86: xc/lib/X11/PutBEvent.c,v 1.3 2001/01/17 19:41:41 dawes Exp $ */
/* XPutBackEvent puts an event back at the head of the queue. */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuBest.c b/nx-X11/lib/X11/QuBest.c
index 7fe218147..e4aed4c74 100644
--- a/nx-X11/lib/X11/QuBest.c
+++ b/nx-X11/lib/X11/QuBest.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuColor.c b/nx-X11/lib/X11/QuColor.c
index 9b6901e8d..026678a30 100644
--- a/nx-X11/lib/X11/QuColor.c
+++ b/nx-X11/lib/X11/QuColor.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuColor.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuColors.c b/nx-X11/lib/X11/QuColors.c
index 74a1de85d..e351bb013 100644
--- a/nx-X11/lib/X11/QuColors.c
+++ b/nx-X11/lib/X11/QuColors.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuColors.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuCurShp.c b/nx-X11/lib/X11/QuCurShp.c
index b2667231d..51a2a66a5 100644
--- a/nx-X11/lib/X11/QuCurShp.c
+++ b/nx-X11/lib/X11/QuCurShp.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuExt.c b/nx-X11/lib/X11/QuExt.c
index 19d8be5d5..5267402c9 100644
--- a/nx-X11/lib/X11/QuExt.c
+++ b/nx-X11/lib/X11/QuExt.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86$ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuKeybd.c b/nx-X11/lib/X11/QuKeybd.c
index 62691c043..c2465987e 100644
--- a/nx-X11/lib/X11/QuKeybd.c
+++ b/nx-X11/lib/X11/QuKeybd.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuKeybd.c,v 1.3 2001/01/17 19:41:42 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuPntr.c b/nx-X11/lib/X11/QuPntr.c
index 006553d71..34c7d69b2 100644
--- a/nx-X11/lib/X11/QuPntr.c
+++ b/nx-X11/lib/X11/QuPntr.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuStipShp.c b/nx-X11/lib/X11/QuStipShp.c
index 0d7c00d78..25e022eb0 100644
--- a/nx-X11/lib/X11/QuStipShp.c
+++ b/nx-X11/lib/X11/QuStipShp.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuTextE16.c b/nx-X11/lib/X11/QuTextE16.c
index ee3817272..a6d0504fa 100644
--- a/nx-X11/lib/X11/QuTextE16.c
+++ b/nx-X11/lib/X11/QuTextE16.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuTextE16.c,v 1.4 2001/12/14 19:54:04 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuTextExt.c b/nx-X11/lib/X11/QuTextExt.c
index a144865c3..b1181be02 100644
--- a/nx-X11/lib/X11/QuTextExt.c
+++ b/nx-X11/lib/X11/QuTextExt.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuTextExt.c,v 1.4 2001/12/14 19:54:04 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuTileShp.c b/nx-X11/lib/X11/QuTileShp.c
index 5e23ae2ff..324a78004 100644
--- a/nx-X11/lib/X11/QuTileShp.c
+++ b/nx-X11/lib/X11/QuTileShp.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/QuTree.c b/nx-X11/lib/X11/QuTree.c
index 1a743284d..ee34a6303 100644
--- a/nx-X11/lib/X11/QuTree.c
+++ b/nx-X11/lib/X11/QuTree.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/QuTree.c,v 1.5 2001/01/17 19:41:42 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/ReconfWM.c b/nx-X11/lib/X11/ReconfWM.c
index ecb5f6a89..d4d3e058c 100644
--- a/nx-X11/lib/X11/ReconfWM.c
+++ b/nx-X11/lib/X11/ReconfWM.c
@@ -27,8 +27,6 @@ from The Open Group.
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/SendEvent.c b/nx-X11/lib/X11/SendEvent.c
index a1b8d6620..1512f1467 100644
--- a/nx-X11/lib/X11/SendEvent.c
+++ b/nx-X11/lib/X11/SendEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SendEvent.c,v 1.4 2001/12/14 19:54:05 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/SetPntMap.c b/nx-X11/lib/X11/SetPntMap.c
index 4a98ad48c..b400452d1 100644
--- a/nx-X11/lib/X11/SetPntMap.c
+++ b/nx-X11/lib/X11/SetPntMap.c
@@ -26,8 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/SetPntMap.c,v 1.4 2001/12/14 19:54:06 dawes Exp $ */
-#define NEED_REPLIES
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/Sync.c b/nx-X11/lib/X11/Sync.c
index 6e9f300d8..efca51ba7 100644
--- a/nx-X11/lib/X11/Sync.c
+++ b/nx-X11/lib/X11/Sync.c
@@ -26,8 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/Sync.c,v 1.3 2001/01/17 19:41:44 dawes Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/TrCoords.c b/nx-X11/lib/X11/TrCoords.c
index 87ae4ae4a..79ca834b9 100644
--- a/nx-X11/lib/X11/TrCoords.c
+++ b/nx-X11/lib/X11/TrCoords.c
@@ -25,7 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/WinEvent.c b/nx-X11/lib/X11/WinEvent.c
index 961fcf74b..94d32ef34 100644
--- a/nx-X11/lib/X11/WinEvent.c
+++ b/nx-X11/lib/X11/WinEvent.c
@@ -26,7 +26,6 @@ in this Software without prior written authorization from The Open Group.
*/
/* $XFree86: xc/lib/X11/WinEvent.c,v 3.5 2001/10/28 03:32:32 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/Withdraw.c b/nx-X11/lib/X11/Withdraw.c
index 2037b8e46..ddae2424a 100644
--- a/nx-X11/lib/X11/Withdraw.c
+++ b/nx-X11/lib/X11/Withdraw.c
@@ -50,7 +50,6 @@ from The Open Group.
*/
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/XDefaultIMIF.c b/nx-X11/lib/X11/XDefaultIMIF.c
index 41bd43c15..3ece58601 100644
--- a/nx-X11/lib/X11/XDefaultIMIF.c
+++ b/nx-X11/lib/X11/XDefaultIMIF.c
@@ -47,7 +47,6 @@ Sun Microsystems, Inc. or its licensors is granted.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "XlcGeneric.h"
diff --git a/nx-X11/lib/X11/XKB.c b/nx-X11/lib/X11/XKB.c
index 413a51eb6..f03976d3b 100644
--- a/nx-X11/lib/X11/XKB.c
+++ b/nx-X11/lib/X11/XKB.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/nx-X11/lib/X11/XKBAlloc.c b/nx-X11/lib/X11/XKBAlloc.c
index 131985444..9b4fbd38d 100644
--- a/nx-X11/lib/X11/XKBAlloc.c
+++ b/nx-X11/lib/X11/XKBAlloc.c
@@ -35,8 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include "XKBlibint.h"
#include <nx-X11/extensions/XKBgeom.h>
@@ -47,8 +45,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <nx-X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
diff --git a/nx-X11/lib/X11/XKBBell.c b/nx-X11/lib/X11/XKBBell.c
index 51869097e..44f863a5f 100644
--- a/nx-X11/lib/X11/XKBBell.c
+++ b/nx-X11/lib/X11/XKBBell.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/nx-X11/lib/X11/XKBBind.c b/nx-X11/lib/X11/XKBBind.c
index 6c1864d41..82d06f35e 100644
--- a/nx-X11/lib/X11/XKBBind.c
+++ b/nx-X11/lib/X11/XKBBind.c
@@ -30,7 +30,6 @@ from The Open Group.
/* the new monsters ate the old ones */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/XKBCompat.c b/nx-X11/lib/X11/XKBCompat.c
index b16e6b083..04b0a3a8b 100644
--- a/nx-X11/lib/X11/XKBCompat.c
+++ b/nx-X11/lib/X11/XKBCompat.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
diff --git a/nx-X11/lib/X11/XKBCtrls.c b/nx-X11/lib/X11/XKBCtrls.c
index f3a09a124..8f2876e12 100644
--- a/nx-X11/lib/X11/XKBCtrls.c
+++ b/nx-X11/lib/X11/XKBCtrls.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/nx-X11/lib/X11/XKBCvt.c b/nx-X11/lib/X11/XKBCvt.c
index 2d58ca990..391bbf499 100644
--- a/nx-X11/lib/X11/XKBCvt.c
+++ b/nx-X11/lib/X11/XKBCvt.c
@@ -37,7 +37,6 @@ from The Open Group.
#include <nx-X11/X.h>
#include <nx-X11/Xlib.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "XlcPubI.h"
diff --git a/nx-X11/lib/X11/XKBExtDev.c b/nx-X11/lib/X11/XKBExtDev.c
index 0510b7f55..1f5bbb7db 100644
--- a/nx-X11/lib/X11/XKBExtDev.c
+++ b/nx-X11/lib/X11/XKBExtDev.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
diff --git a/nx-X11/lib/X11/XKBGAlloc.c b/nx-X11/lib/X11/XKBGAlloc.c
index eb74cbfd0..00168f413 100644
--- a/nx-X11/lib/X11/XKBGAlloc.c
+++ b/nx-X11/lib/X11/XKBGAlloc.c
@@ -32,9 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
-#define NEED_EVENTS
-#define NEED_REPLIES
-
#ifndef XKB_IN_SERVER
#include <stdio.h>
diff --git a/nx-X11/lib/X11/XKBGeom.c b/nx-X11/lib/X11/XKBGeom.c
index d225342a7..5dabf12a1 100644
--- a/nx-X11/lib/X11/XKBGeom.c
+++ b/nx-X11/lib/X11/XKBGeom.c
@@ -33,8 +33,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#endif
-#define NEED_EVENTS
-#define NEED_REPLIES
#define NEED_MAP_READERS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBgeom.h>
diff --git a/nx-X11/lib/X11/XKBGetByName.c b/nx-X11/lib/X11/XKBGetByName.c
index 87f405e50..535d793ae 100644
--- a/nx-X11/lib/X11/XKBGetByName.c
+++ b/nx-X11/lib/X11/XKBGetByName.c
@@ -26,8 +26,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86$ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/XKBGetMap.c b/nx-X11/lib/X11/XKBGetMap.c
index 5f37f9571..5fd3d7af9 100644
--- a/nx-X11/lib/X11/XKBGetMap.c
+++ b/nx-X11/lib/X11/XKBGetMap.c
@@ -27,8 +27,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* $XFree86: xc/lib/X11/XKBGetMap.c,v 1.9 2003/04/17 02:06:31 dawes Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/XKBList.c b/nx-X11/lib/X11/XKBList.c
index ef265fdde..707fafbc8 100644
--- a/nx-X11/lib/X11/XKBList.c
+++ b/nx-X11/lib/X11/XKBList.c
@@ -26,8 +26,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86$ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/XKBMAlloc.c b/nx-X11/lib/X11/XKBMAlloc.c
index 31255091f..1db98c0a0 100644
--- a/nx-X11/lib/X11/XKBMAlloc.c
+++ b/nx-X11/lib/X11/XKBMAlloc.c
@@ -35,8 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include <nx-X11/keysym.h>
@@ -46,8 +44,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <nx-X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
diff --git a/nx-X11/lib/X11/XKBMisc.c b/nx-X11/lib/X11/XKBMisc.c
index 7f0e59e7a..30250cc17 100644
--- a/nx-X11/lib/X11/XKBMisc.c
+++ b/nx-X11/lib/X11/XKBMisc.c
@@ -35,8 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef XKB_IN_SERVER
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include <nx-X11/keysym.h>
@@ -46,8 +44,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <nx-X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
diff --git a/nx-X11/lib/X11/XKBNames.c b/nx-X11/lib/X11/XKBNames.c
index 0bcd42b3d..1b2a3cb0a 100644
--- a/nx-X11/lib/X11/XKBNames.c
+++ b/nx-X11/lib/X11/XKBNames.c
@@ -26,8 +26,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBNames.c,v 1.5 2003/04/13 19:22:18 dawes Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/XKBRdBuf.c b/nx-X11/lib/X11/XKBRdBuf.c
index 109618dd2..1d5459691 100644
--- a/nx-X11/lib/X11/XKBRdBuf.c
+++ b/nx-X11/lib/X11/XKBRdBuf.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include "XKBlibint.h"
#include <nx-X11/extensions/XKBproto.h>
diff --git a/nx-X11/lib/X11/XKBSetGeom.c b/nx-X11/lib/X11/XKBSetGeom.c
index f13be8097..2a6ce7442 100644
--- a/nx-X11/lib/X11/XKBSetGeom.c
+++ b/nx-X11/lib/X11/XKBSetGeom.c
@@ -34,8 +34,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#endif
-#define NEED_EVENTS
-#define NEED_REPLIES
#include "Xlibint.h"
#include "XKBlibint.h"
#include <nx-X11/extensions/XKBgeom.h>
diff --git a/nx-X11/lib/X11/XKBSetMap.c b/nx-X11/lib/X11/XKBSetMap.c
index 784a241c2..439d0dcea 100644
--- a/nx-X11/lib/X11/XKBSetMap.c
+++ b/nx-X11/lib/X11/XKBSetMap.c
@@ -30,8 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <stdio.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/nx-X11/lib/X11/XKBUse.c b/nx-X11/lib/X11/XKBUse.c
index 95fba49ac..fe6d316ef 100644
--- a/nx-X11/lib/X11/XKBUse.c
+++ b/nx-X11/lib/X11/XKBUse.c
@@ -31,8 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
#include <ctype.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/extensions/XKBproto.h>
#include "XKBlibint.h"
diff --git a/nx-X11/lib/X11/XKBleds.c b/nx-X11/lib/X11/XKBleds.c
index d026d84be..adb87baa3 100644
--- a/nx-X11/lib/X11/XKBleds.c
+++ b/nx-X11/lib/X11/XKBleds.c
@@ -26,8 +26,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
********************************************************/
/* $XFree86: xc/lib/X11/XKBleds.c,v 1.4 2003/04/13 19:22:18 dawes Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#define NEED_MAP_READERS
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/nx-X11/lib/X11/XlibAsync.c b/nx-X11/lib/X11/XlibAsync.c
index 832371782..1fc64e5d6 100644
--- a/nx-X11/lib/X11/XlibAsync.c
+++ b/nx-X11/lib/X11/XlibAsync.c
@@ -44,7 +44,6 @@ from The Open Group.
/* */
/**************************************************************************/
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/XlibInt.c b/nx-X11/lib/X11/XlibInt.c
index 175f5b92f..5e9cb4a19 100644
--- a/nx-X11/lib/X11/XlibInt.c
+++ b/nx-X11/lib/X11/XlibInt.c
@@ -50,8 +50,6 @@ from The Open Group.
* XlibInt.c - Internal support routines for the C subroutine
* interface library (Xlib) to the X Window System Protocol V11.0.
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef WIN32
#define _XLIBINT_
diff --git a/nx-X11/lib/X11/Xlibint.h b/nx-X11/lib/X11/Xlibint.h
index ca3d28004..6e5b2bcea 100644
--- a/nx-X11/lib/X11/Xlibint.h
+++ b/nx-X11/lib/X11/Xlibint.h
@@ -228,11 +228,8 @@ typedef struct _XSQEvent
#endif
#ifdef XTHREADS /* for xReply */
-#define NEED_REPLIES
#endif
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#ifdef __sgi
#define _SGI_MP_SOURCE /* turn this on to get MP safe errno */
diff --git a/nx-X11/lib/X11/cmsAllNCol.c b/nx-X11/lib/X11/cmsAllNCol.c
index efee0f6b3..8453a31c2 100644
--- a/nx-X11/lib/X11/cmsAllNCol.c
+++ b/nx-X11/lib/X11/cmsAllNCol.c
@@ -34,7 +34,6 @@
*/
/* $XFree86: xc/lib/X11/cmsAllNCol.c,v 1.4 2003/04/13 19:22:20 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/cmsCmap.c b/nx-X11/lib/X11/cmsCmap.c
index bc26638c1..7ad5c7471 100644
--- a/nx-X11/lib/X11/cmsCmap.c
+++ b/nx-X11/lib/X11/cmsCmap.c
@@ -35,8 +35,6 @@
*/
/* $XFree86$ */
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/cmsInt.c b/nx-X11/lib/X11/cmsInt.c
index 68cfebd74..aa67a3aed 100644
--- a/nx-X11/lib/X11/cmsInt.c
+++ b/nx-X11/lib/X11/cmsInt.c
@@ -36,7 +36,6 @@
*/
/* $XFree86: xc/lib/X11/cmsInt.c,v 1.4 2003/04/13 19:22:20 dawes Exp $ */
-/* #define NEED_EVENTS */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/cmsLkCol.c b/nx-X11/lib/X11/cmsLkCol.c
index f19f21d03..b8211b2c6 100644
--- a/nx-X11/lib/X11/cmsLkCol.c
+++ b/nx-X11/lib/X11/cmsLkCol.c
@@ -34,7 +34,6 @@
*/
/* $XFree86: xc/lib/X11/cmsLkCol.c,v 1.5 2003/04/13 19:22:20 dawes Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/globals.c b/nx-X11/lib/X11/globals.c
index cf270dc22..99054493d 100644
--- a/nx-X11/lib/X11/globals.c
+++ b/nx-X11/lib/X11/globals.c
@@ -34,7 +34,6 @@ from The Open Group.
*
* This file should contain only those objects which must be predefined.
*/
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/imConv.c b/nx-X11/lib/X11/imConv.c
index f519401e4..6837ac042 100644
--- a/nx-X11/lib/X11/imConv.c
+++ b/nx-X11/lib/X11/imConv.c
@@ -35,7 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $XFree86: xc/lib/X11/imConv.c,v 1.32 2003/04/13 19:22:20 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/imDefFlt.c b/nx-X11/lib/X11/imDefFlt.c
index b5b107221..c6ba5478b 100644
--- a/nx-X11/lib/X11/imDefFlt.c
+++ b/nx-X11/lib/X11/imDefFlt.c
@@ -32,7 +32,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xutil.h"
#include "Xlcint.h"
diff --git a/nx-X11/lib/X11/imDefIm.c b/nx-X11/lib/X11/imDefIm.c
index e963f3560..3d5c6fe88 100644
--- a/nx-X11/lib/X11/imDefIm.c
+++ b/nx-X11/lib/X11/imDefIm.c
@@ -37,7 +37,6 @@ OF THIS SOFTWARE.
#include <config.h>
#endif
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "XlcPublic.h"
diff --git a/nx-X11/lib/X11/imDefLkup.c b/nx-X11/lib/X11/imDefLkup.c
index 5bdcb77c3..13c538bff 100644
--- a/nx-X11/lib/X11/imDefLkup.c
+++ b/nx-X11/lib/X11/imDefLkup.c
@@ -32,7 +32,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "Ximint.h"
diff --git a/nx-X11/lib/X11/imEvToWire.c b/nx-X11/lib/X11/imEvToWire.c
index 211252a50..29fd0418b 100644
--- a/nx-X11/lib/X11/imEvToWire.c
+++ b/nx-X11/lib/X11/imEvToWire.c
@@ -23,13 +23,11 @@ SOFTWARE.
******************************************************************/
/* $XFree86$ */
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <nx-X11/Xlibint.h>
#include <nx-X11/Xlib.h>
-#undef NEED_EVENTS
#include "Ximint.h"
diff --git a/nx-X11/lib/X11/imExten.c b/nx-X11/lib/X11/imExten.c
index 6cb663f66..1b18961e3 100644
--- a/nx-X11/lib/X11/imExten.c
+++ b/nx-X11/lib/X11/imExten.c
@@ -32,7 +32,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "Ximint.h"
diff --git a/nx-X11/lib/X11/imInsClbk.c b/nx-X11/lib/X11/imInsClbk.c
index 744ee824c..43e3d60bb 100644
--- a/nx-X11/lib/X11/imInsClbk.c
+++ b/nx-X11/lib/X11/imInsClbk.c
@@ -32,7 +32,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#endif
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "XlcPublic.h"
diff --git a/nx-X11/lib/X11/imLcFlt.c b/nx-X11/lib/X11/imLcFlt.c
index 7ff642fae..5aa5c28a4 100644
--- a/nx-X11/lib/X11/imLcFlt.c
+++ b/nx-X11/lib/X11/imLcFlt.c
@@ -30,7 +30,6 @@ PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/imLcGIc.c b/nx-X11/lib/X11/imLcGIc.c
index e4f89a0f5..c057b9262 100644
--- a/nx-X11/lib/X11/imLcGIc.c
+++ b/nx-X11/lib/X11/imLcGIc.c
@@ -27,7 +27,6 @@ PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
diff --git a/nx-X11/lib/X11/imTrX.c b/nx-X11/lib/X11/imTrX.c
index 4aa587662..59c766b85 100644
--- a/nx-X11/lib/X11/imTrX.c
+++ b/nx-X11/lib/X11/imTrX.c
@@ -35,7 +35,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <string.h>
#include <nx-X11/Xatom.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include "Xlcint.h"
#include "Ximint.h"
diff --git a/nx-X11/lib/X11/imTrans.c b/nx-X11/lib/X11/imTrans.c
index e9715927b..b69e0c06c 100644
--- a/nx-X11/lib/X11/imTrans.c
+++ b/nx-X11/lib/X11/imTrans.c
@@ -36,7 +36,6 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <nx-X11/Xatom.h>
#include <nx-X11/Xmd.h>
-#define NEED_EVENTS
#include "Xlibint.h"
#include <nx-X11/Xtrans/Xtrans.h>
#include "Xlcint.h"
diff --git a/nx-X11/lib/xkbfile/maprules.c b/nx-X11/lib/xkbfile/maprules.c
index 75baf07ea..dd2f5bfb3 100644
--- a/nx-X11/lib/xkbfile/maprules.c
+++ b/nx-X11/lib/xkbfile/maprules.c
@@ -56,7 +56,6 @@
#else
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include <nx-X11/X.h>
#include <nx-X11/Xos.h>
diff --git a/nx-X11/lib/xkbfile/xkbconfig.c b/nx-X11/lib/xkbfile/xkbconfig.c
index 8c31213a5..5ab067ae5 100644
--- a/nx-X11/lib/xkbfile/xkbconfig.c
+++ b/nx-X11/lib/xkbfile/xkbconfig.c
@@ -51,7 +51,6 @@
#else
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/keysym.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/lib/xkbfile/xkbmisc.c b/nx-X11/lib/xkbfile/xkbmisc.c
index 52fca3d10..0bb129f7f 100644
--- a/nx-X11/lib/xkbfile/xkbmisc.c
+++ b/nx-X11/lib/xkbfile/xkbmisc.c
@@ -51,7 +51,6 @@
#else
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/keysym.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/lib/xkbfile/xkbout.c b/nx-X11/lib/xkbfile/xkbout.c
index 8baf34b78..467b47631 100644
--- a/nx-X11/lib/xkbfile/xkbout.c
+++ b/nx-X11/lib/xkbfile/xkbout.c
@@ -49,7 +49,6 @@
#else
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/keysym.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/lib/xkbfile/xkbtext.c b/nx-X11/lib/xkbfile/xkbtext.c
index 41f2a8ff3..2d5d0bdad 100644
--- a/nx-X11/lib/xkbfile/xkbtext.c
+++ b/nx-X11/lib/xkbfile/xkbtext.c
@@ -50,7 +50,6 @@
#else
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "inputstr.h"
diff --git a/nx-X11/lib/xkbfile/xkmread.c b/nx-X11/lib/xkbfile/xkmread.c
index 92ef05b86..9518bc90f 100644
--- a/nx-X11/lib/xkbfile/xkmread.c
+++ b/nx-X11/lib/xkbfile/xkmread.c
@@ -52,7 +52,6 @@
#else
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
#include "misc.h"