aboutsummaryrefslogtreecommitdiff
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
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
-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
-rw-r--r--nx-X11/programs/Xserver/GL/glx/g_render.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/g_renderswap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/g_single.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/g_singleswap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/global.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxcmds.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxext.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/glxutil.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/render2.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/render2swap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/renderpix.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/renderpixswap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/single2.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/single2swap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/singlepix.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/singlepixswap.c1
-rw-r--r--nx-X11/programs/Xserver/GL/glx/xfont.c1
-rw-r--r--nx-X11/programs/Xserver/Xext/bigreq.c1
-rw-r--r--nx-X11/programs/Xserver/Xext/panoramiX.c1
-rw-r--r--nx-X11/programs/Xserver/Xext/panoramiXprocs.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/saver.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/shape.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/shm.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/sync.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/xcmisc.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/xres.c2
-rw-r--r--nx-X11/programs/Xserver/Xext/xtest.c1
-rw-r--r--nx-X11/programs/Xserver/Xext/xtest1dd.c3
-rw-r--r--nx-X11/programs/Xserver/Xext/xtest1di.c3
-rw-r--r--nx-X11/programs/Xserver/Xext/xvmc.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/allowev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgdctl.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgfctl.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgkbd.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgkmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgprop.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/chgptr.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/closedev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/devbell.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/exevents.c1
-rw-r--r--nx-X11/programs/Xserver/Xi/extinit.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getbmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getdctl.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getfctl.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getfocus.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getkmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getmmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getprop.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getselev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/getvers.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/grabdev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/grabdevb.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/grabdevk.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/gtmotion.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/listdev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/opendev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/queryst.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/selectev.c3
-rw-r--r--nx-X11/programs/Xserver/Xi/sendexev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/setbmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/setdval.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/setfocus.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/setmmap.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/setmode.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/stubs.c1
-rw-r--r--nx-X11/programs/Xserver/Xi/ungrdev.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/ungrdevb.c2
-rw-r--r--nx-X11/programs/Xserver/Xi/ungrdevk.c2
-rw-r--r--nx-X11/programs/Xserver/damageext/damageextint.h1
-rw-r--r--nx-X11/programs/Xserver/dbe/dbe.c1
-rw-r--r--nx-X11/programs/Xserver/dbe/midbe.c2
-rw-r--r--nx-X11/programs/Xserver/dix/colormap.c1
-rw-r--r--nx-X11/programs/Xserver/dix/devices.c2
-rw-r--r--nx-X11/programs/Xserver/dix/dixfonts.c1
-rw-r--r--nx-X11/programs/Xserver/dix/events.c2
-rw-r--r--nx-X11/programs/Xserver/dix/extension.c2
-rw-r--r--nx-X11/programs/Xserver/dix/grabs.c1
-rw-r--r--nx-X11/programs/Xserver/dix/main.c1
-rw-r--r--nx-X11/programs/Xserver/dix/property.c2
-rw-r--r--nx-X11/programs/Xserver/dix/resource.c1
-rw-r--r--nx-X11/programs/Xserver/dix/swaprep.c2
-rw-r--r--nx-X11/programs/Xserver/dix/swapreq.c1
-rw-r--r--nx-X11/programs/Xserver/dix/tables.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c1
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keyboard.c1
-rw-r--r--nx-X11/programs/Xserver/include/closestr.h1
-rw-r--r--nx-X11/programs/Xserver/include/dixfontstr.h1
-rw-r--r--nx-X11/programs/Xserver/mi/mibstore.c1
-rw-r--r--nx-X11/programs/Xserver/mi/midispcur.c1
-rw-r--r--nx-X11/programs/Xserver/mi/mieq.c1
-rw-r--r--nx-X11/programs/Xserver/mi/miexpose.c1
-rw-r--r--nx-X11/programs/Xserver/mi/mipointer.c1
-rw-r--r--nx-X11/programs/Xserver/os/io.c1
-rw-r--r--nx-X11/programs/Xserver/randr/randr.c2
-rw-r--r--nx-X11/programs/Xserver/record/record.c1
-rw-r--r--nx-X11/programs/Xserver/render/render.c2
-rw-r--r--nx-X11/programs/Xserver/xfixes/xfixesint.h1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxBeep.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxConfig.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxCtrls.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxDevBtn.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxFakeBtn.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxFakeMtn.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxInit.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxKeyClick.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxKillSrv.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxLEDs.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxList.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxLoad.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxPrivate.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/ddxVT.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkb.c2
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbAccessX.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbActions.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbEvents.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbInit.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbLEDs.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbPrKeyEv.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbPrOtherEv.c1
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbSwap.c2
-rw-r--r--nx-X11/programs/Xserver/xkb/xkbUtils.c1
-rw-r--r--nxcompext/NXlib.c2
240 files changed, 0 insertions, 340 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"
diff --git a/nx-X11/programs/Xserver/GL/glx/g_render.c b/nx-X11/programs/Xserver/GL/glx/g_render.c
index 24c64897e..8ef9f693c 100644
--- a/nx-X11/programs/Xserver/GL/glx/g_render.c
+++ b/nx-X11/programs/Xserver/GL/glx/g_render.c
@@ -29,7 +29,6 @@
** version 1.2.1 Specification.
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/g_renderswap.c b/nx-X11/programs/Xserver/GL/glx/g_renderswap.c
index f485a2690..6964ecd55 100644
--- a/nx-X11/programs/Xserver/GL/glx/g_renderswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/g_renderswap.c
@@ -28,7 +28,6 @@
** version 1.2.1 Specification.
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/g_single.c b/nx-X11/programs/Xserver/GL/glx/g_single.c
index a60bf44c1..65d79a9bc 100644
--- a/nx-X11/programs/Xserver/GL/glx/g_single.c
+++ b/nx-X11/programs/Xserver/GL/glx/g_single.c
@@ -28,7 +28,6 @@
** version 1.2.1 Specification.
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/g_singleswap.c b/nx-X11/programs/Xserver/GL/glx/g_singleswap.c
index 026530374..48a5fc9f6 100644
--- a/nx-X11/programs/Xserver/GL/glx/g_singleswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/g_singleswap.c
@@ -28,7 +28,6 @@
** version 1.2.1 Specification.
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/global.c b/nx-X11/programs/Xserver/GL/glx/global.c
index 18cd5edc2..207e7b4cc 100644
--- a/nx-X11/programs/Xserver/GL/glx/global.c
+++ b/nx-X11/programs/Xserver/GL/glx/global.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmds.c b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
index a92d83062..3def7b333 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmds.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmds.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
diff --git a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
index afe681167..dbdbb667e 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxcmdsswap.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
diff --git a/nx-X11/programs/Xserver/GL/glx/glxext.c b/nx-X11/programs/Xserver/GL/glx/glxext.c
index 8b4ae4252..f908c08cf 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxext.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxext.c
@@ -18,7 +18,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/glxutil.c b/nx-X11/programs/Xserver/GL/glx/glxutil.c
index b95a21f89..f7564a0ff 100644
--- a/nx-X11/programs/Xserver/GL/glx/glxutil.c
+++ b/nx-X11/programs/Xserver/GL/glx/glxutil.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
diff --git a/nx-X11/programs/Xserver/GL/glx/render2.c b/nx-X11/programs/Xserver/GL/glx/render2.c
index f4491b276..95b1a9ab7 100644
--- a/nx-X11/programs/Xserver/GL/glx/render2.c
+++ b/nx-X11/programs/Xserver/GL/glx/render2.c
@@ -34,7 +34,6 @@
**
*/
-/* #define NEED_REPLIES */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/render2swap.c b/nx-X11/programs/Xserver/GL/glx/render2swap.c
index 0225970cb..605ffd0c6 100644
--- a/nx-X11/programs/Xserver/GL/glx/render2swap.c
+++ b/nx-X11/programs/Xserver/GL/glx/render2swap.c
@@ -34,7 +34,6 @@
**
*/
-/* #define NEED_REPLIES */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/renderpix.c b/nx-X11/programs/Xserver/GL/glx/renderpix.c
index fe508e299..2a929ea7c 100644
--- a/nx-X11/programs/Xserver/GL/glx/renderpix.c
+++ b/nx-X11/programs/Xserver/GL/glx/renderpix.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/renderpixswap.c b/nx-X11/programs/Xserver/GL/glx/renderpixswap.c
index 9c3100fb3..4eef7a546 100644
--- a/nx-X11/programs/Xserver/GL/glx/renderpixswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/renderpixswap.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/single2.c b/nx-X11/programs/Xserver/GL/glx/single2.c
index cd9c0eeb3..bd7283a95 100644
--- a/nx-X11/programs/Xserver/GL/glx/single2.c
+++ b/nx-X11/programs/Xserver/GL/glx/single2.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/single2swap.c b/nx-X11/programs/Xserver/GL/glx/single2swap.c
index 7e6c30fea..7d33dd63d 100644
--- a/nx-X11/programs/Xserver/GL/glx/single2swap.c
+++ b/nx-X11/programs/Xserver/GL/glx/single2swap.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepix.c b/nx-X11/programs/Xserver/GL/glx/singlepix.c
index a156db5d3..157ce3f64 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepix.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepix.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
index 24f2e76e8..c5d53c06e 100644
--- a/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
+++ b/nx-X11/programs/Xserver/GL/glx/singlepixswap.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/GL/glx/xfont.c b/nx-X11/programs/Xserver/GL/glx/xfont.c
index c4995e272..b5869cf44 100644
--- a/nx-X11/programs/Xserver/GL/glx/xfont.c
+++ b/nx-X11/programs/Xserver/GL/glx/xfont.c
@@ -34,7 +34,6 @@
**
*/
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/bigreq.c b/nx-X11/programs/Xserver/Xext/bigreq.c
index 29f638fe1..67973ab20 100644
--- a/nx-X11/programs/Xserver/Xext/bigreq.c
+++ b/nx-X11/programs/Xserver/Xext/bigreq.c
@@ -28,7 +28,6 @@ from The Open Group.
*/
/* $XFree86: xc/programs/Xserver/Xext/bigreq.c,v 3.8 2003/10/28 23:08:43 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/panoramiX.c b/nx-X11/programs/Xserver/Xext/panoramiX.c
index d83f34c2e..3b89f36d6 100644
--- a/nx-X11/programs/Xserver/Xext/panoramiX.c
+++ b/nx-X11/programs/Xserver/Xext/panoramiX.c
@@ -33,7 +33,6 @@ Equipment Corporation.
#include <dmx-config.h>
#endif
-#define NEED_REPLIES
#include <stdio.h>
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
diff --git a/nx-X11/programs/Xserver/Xext/panoramiXprocs.c b/nx-X11/programs/Xserver/Xext/panoramiXprocs.c
index 5cc088c98..563c97a0d 100644
--- a/nx-X11/programs/Xserver/Xext/panoramiXprocs.c
+++ b/nx-X11/programs/Xserver/Xext/panoramiXprocs.c
@@ -34,8 +34,6 @@ Equipment Corporation.
#include <stdio.h>
#include <X11/X.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <X11/Xproto.h>
#include "windowstr.h"
#include "dixfontstr.h"
diff --git a/nx-X11/programs/Xserver/Xext/saver.c b/nx-X11/programs/Xserver/Xext/saver.c
index 7cc186591..0b4a467db 100644
--- a/nx-X11/programs/Xserver/Xext/saver.c
+++ b/nx-X11/programs/Xserver/Xext/saver.c
@@ -30,8 +30,6 @@ in this Software without prior written authorization from the X Consortium.
/* $XFree86: xc/programs/Xserver/Xext/saver.c,v 3.7 2003/10/28 23:08:43 tsi Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/shape.c b/nx-X11/programs/Xserver/Xext/shape.c
index c90fd8ecd..61a9eb9bf 100644
--- a/nx-X11/programs/Xserver/Xext/shape.c
+++ b/nx-X11/programs/Xserver/Xext/shape.c
@@ -27,8 +27,6 @@ in this Software without prior written authorization from The Open Group.
********************************************************/
/* $Xorg: shape.c,v 1.4 2001/02/09 02:04:32 xorgcvs Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/shm.c b/nx-X11/programs/Xserver/Xext/shm.c
index a39aef630..323d3dbfb 100644
--- a/nx-X11/programs/Xserver/Xext/shm.c
+++ b/nx-X11/programs/Xserver/Xext/shm.c
@@ -45,8 +45,6 @@ in this Software without prior written authorization from The Open Group.
#endif
#include <unistd.h>
#include <sys/stat.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/programs/Xserver/Xext/sync.c b/nx-X11/programs/Xserver/Xext/sync.c
index 3dff56d93..12cb0a6ab 100644
--- a/nx-X11/programs/Xserver/Xext/sync.c
+++ b/nx-X11/programs/Xserver/Xext/sync.c
@@ -52,8 +52,6 @@ PERFORMANCE OF THIS SOFTWARE.
*/
/* $XFree86: xc/programs/Xserver/Xext/sync.c,v 3.13 2003/09/02 18:19:01 tsi Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/xcmisc.c b/nx-X11/programs/Xserver/Xext/xcmisc.c
index 534c9ad2f..48117aaf8 100644
--- a/nx-X11/programs/Xserver/Xext/xcmisc.c
+++ b/nx-X11/programs/Xserver/Xext/xcmisc.c
@@ -28,8 +28,6 @@ from The Open Group.
*/
/* $XFree86: xc/programs/Xserver/Xext/xcmisc.c,v 3.7 2003/10/28 23:08:43 tsi Exp $ */
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/xres.c b/nx-X11/programs/Xserver/Xext/xres.c
index 8605e4c7e..c4b3a1818 100644
--- a/nx-X11/programs/Xserver/Xext/xres.c
+++ b/nx-X11/programs/Xserver/Xext/xres.c
@@ -4,8 +4,6 @@
/* $XFree86: xc/programs/Xserver/Xext/xres.c,v 1.7tsi Exp $ */
/* $XdotOrg: xc/programs/Xserver/Xext/xres.c,v 1.7 2005/07/03 08:53:36 daniels Exp $ */
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/xtest.c b/nx-X11/programs/Xserver/Xext/xtest.c
index c5aef9220..ed3d8ef8d 100644
--- a/nx-X11/programs/Xserver/Xext/xtest.c
+++ b/nx-X11/programs/Xserver/Xext/xtest.c
@@ -34,7 +34,6 @@ from The Open Group.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "os.h"
diff --git a/nx-X11/programs/Xserver/Xext/xtest1dd.c b/nx-X11/programs/Xserver/Xext/xtest1dd.c
index c945fd6bd..35cffeb07 100644
--- a/nx-X11/programs/Xserver/Xext/xtest1dd.c
+++ b/nx-X11/programs/Xserver/Xext/xtest1dd.c
@@ -58,9 +58,6 @@ University of California.
* include files
***************************************************************/
-#define NEED_EVENTS
-#define NEED_REPLIES
-
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/xtest1di.c b/nx-X11/programs/Xserver/Xext/xtest1di.c
index 4aac1824b..e97c7da69 100644
--- a/nx-X11/programs/Xserver/Xext/xtest1di.c
+++ b/nx-X11/programs/Xserver/Xext/xtest1di.c
@@ -59,9 +59,6 @@ University of California.
* include files
****************************************************************************/
-#define NEED_EVENTS
-#define NEED_REPLIES
-
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xext/xvmc.c b/nx-X11/programs/Xserver/Xext/xvmc.c
index fa3d1540a..219359331 100644
--- a/nx-X11/programs/Xserver/Xext/xvmc.c
+++ b/nx-X11/programs/Xserver/Xext/xvmc.c
@@ -1,7 +1,5 @@
/* $XFree86: xc/programs/Xserver/Xext/xvmc.c,v 1.8 2003/07/16 01:38:31 dawes Exp $ */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/allowev.c b/nx-X11/programs/Xserver/Xi/allowev.c
index 06a402b6d..86e813eee 100644
--- a/nx-X11/programs/Xserver/Xi/allowev.c
+++ b/nx-X11/programs/Xserver/Xi/allowev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgdctl.c b/nx-X11/programs/Xserver/Xi/chgdctl.c
index b462583fd..136e3f700 100644
--- a/nx-X11/programs/Xserver/Xi/chgdctl.c
+++ b/nx-X11/programs/Xserver/Xi/chgdctl.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgfctl.c b/nx-X11/programs/Xserver/Xi/chgfctl.c
index 9483cd295..103e7912c 100644
--- a/nx-X11/programs/Xserver/Xi/chgfctl.c
+++ b/nx-X11/programs/Xserver/Xi/chgfctl.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgkbd.c b/nx-X11/programs/Xserver/Xi/chgkbd.c
index e9466ba8f..94b19122d 100644
--- a/nx-X11/programs/Xserver/Xi/chgkbd.c
+++ b/nx-X11/programs/Xserver/Xi/chgkbd.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgkmap.c b/nx-X11/programs/Xserver/Xi/chgkmap.c
index 52fd9f5eb..20e7f09e1 100644
--- a/nx-X11/programs/Xserver/Xi/chgkmap.c
+++ b/nx-X11/programs/Xserver/Xi/chgkmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgprop.c b/nx-X11/programs/Xserver/Xi/chgprop.c
index fead6327c..413149cf1 100644
--- a/nx-X11/programs/Xserver/Xi/chgprop.c
+++ b/nx-X11/programs/Xserver/Xi/chgprop.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/chgptr.c b/nx-X11/programs/Xserver/Xi/chgptr.c
index 31b3bbd8e..76b0a1193 100644
--- a/nx-X11/programs/Xserver/Xi/chgptr.c
+++ b/nx-X11/programs/Xserver/Xi/chgptr.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/closedev.c b/nx-X11/programs/Xserver/Xi/closedev.c
index 9452b220b..7ab9ed3c9 100644
--- a/nx-X11/programs/Xserver/Xi/closedev.c
+++ b/nx-X11/programs/Xserver/Xi/closedev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/devbell.c b/nx-X11/programs/Xserver/Xi/devbell.c
index c7de6cf10..27a4efca8 100644
--- a/nx-X11/programs/Xserver/Xi/devbell.c
+++ b/nx-X11/programs/Xserver/Xi/devbell.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/exevents.c b/nx-X11/programs/Xserver/Xi/exevents.c
index 85abd4fee..f3038f0af 100644
--- a/nx-X11/programs/Xserver/Xi/exevents.c
+++ b/nx-X11/programs/Xserver/Xi/exevents.c
@@ -54,7 +54,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/extinit.c b/nx-X11/programs/Xserver/Xi/extinit.c
index b3cd029f4..8f371f71b 100644
--- a/nx-X11/programs/Xserver/Xi/extinit.c
+++ b/nx-X11/programs/Xserver/Xi/extinit.c
@@ -55,8 +55,6 @@ SOFTWARE.
#define NUMTYPES 15
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getbmap.c b/nx-X11/programs/Xserver/Xi/getbmap.c
index 8421e3e5c..59b4c46a8 100644
--- a/nx-X11/programs/Xserver/Xi/getbmap.c
+++ b/nx-X11/programs/Xserver/Xi/getbmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getdctl.c b/nx-X11/programs/Xserver/Xi/getdctl.c
index 0205d5fe4..cb16fb678 100644
--- a/nx-X11/programs/Xserver/Xi/getdctl.c
+++ b/nx-X11/programs/Xserver/Xi/getdctl.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getfctl.c b/nx-X11/programs/Xserver/Xi/getfctl.c
index 6640e8481..d5a3b069d 100644
--- a/nx-X11/programs/Xserver/Xi/getfctl.c
+++ b/nx-X11/programs/Xserver/Xi/getfctl.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getfocus.c b/nx-X11/programs/Xserver/Xi/getfocus.c
index 41c2a6e25..356c84efd 100644
--- a/nx-X11/programs/Xserver/Xi/getfocus.c
+++ b/nx-X11/programs/Xserver/Xi/getfocus.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getkmap.c b/nx-X11/programs/Xserver/Xi/getkmap.c
index 44f91868f..7850218a6 100644
--- a/nx-X11/programs/Xserver/Xi/getkmap.c
+++ b/nx-X11/programs/Xserver/Xi/getkmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getmmap.c b/nx-X11/programs/Xserver/Xi/getmmap.c
index 375f6f2e3..4aba7a32e 100644
--- a/nx-X11/programs/Xserver/Xi/getmmap.c
+++ b/nx-X11/programs/Xserver/Xi/getmmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getprop.c b/nx-X11/programs/Xserver/Xi/getprop.c
index a19824155..17b35deb5 100644
--- a/nx-X11/programs/Xserver/Xi/getprop.c
+++ b/nx-X11/programs/Xserver/Xi/getprop.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getselev.c b/nx-X11/programs/Xserver/Xi/getselev.c
index 7e1f42af2..da3b11040 100644
--- a/nx-X11/programs/Xserver/Xi/getselev.c
+++ b/nx-X11/programs/Xserver/Xi/getselev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/getvers.c b/nx-X11/programs/Xserver/Xi/getvers.c
index 3a33d207b..684f3f18d 100644
--- a/nx-X11/programs/Xserver/Xi/getvers.c
+++ b/nx-X11/programs/Xserver/Xi/getvers.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/grabdev.c b/nx-X11/programs/Xserver/Xi/grabdev.c
index 07099bc63..1f9c12063 100644
--- a/nx-X11/programs/Xserver/Xi/grabdev.c
+++ b/nx-X11/programs/Xserver/Xi/grabdev.c
@@ -54,8 +54,6 @@ SOFTWARE.
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/grabdevb.c b/nx-X11/programs/Xserver/Xi/grabdevb.c
index c74c65fc4..6e722006b 100644
--- a/nx-X11/programs/Xserver/Xi/grabdevb.c
+++ b/nx-X11/programs/Xserver/Xi/grabdevb.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/grabdevk.c b/nx-X11/programs/Xserver/Xi/grabdevk.c
index 1dff73f40..b6233c6c8 100644
--- a/nx-X11/programs/Xserver/Xi/grabdevk.c
+++ b/nx-X11/programs/Xserver/Xi/grabdevk.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/gtmotion.c b/nx-X11/programs/Xserver/Xi/gtmotion.c
index 3cc72c7ea..834484508 100644
--- a/nx-X11/programs/Xserver/Xi/gtmotion.c
+++ b/nx-X11/programs/Xserver/Xi/gtmotion.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/listdev.c b/nx-X11/programs/Xserver/Xi/listdev.c
index 0bf09c7c3..e6e1ce1ad 100644
--- a/nx-X11/programs/Xserver/Xi/listdev.c
+++ b/nx-X11/programs/Xserver/Xi/listdev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/opendev.c b/nx-X11/programs/Xserver/Xi/opendev.c
index 0be0b36c5..5a6ec1242 100644
--- a/nx-X11/programs/Xserver/Xi/opendev.c
+++ b/nx-X11/programs/Xserver/Xi/opendev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/queryst.c b/nx-X11/programs/Xserver/Xi/queryst.c
index d26b25be9..ac0328fad 100644
--- a/nx-X11/programs/Xserver/Xi/queryst.c
+++ b/nx-X11/programs/Xserver/Xi/queryst.c
@@ -34,8 +34,6 @@ from The Open Group.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/selectev.c b/nx-X11/programs/Xserver/Xi/selectev.c
index 1a1000f61..0fa464bab 100644
--- a/nx-X11/programs/Xserver/Xi/selectev.c
+++ b/nx-X11/programs/Xserver/Xi/selectev.c
@@ -53,9 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
-
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/sendexev.c b/nx-X11/programs/Xserver/Xi/sendexev.c
index 64191001f..56431fa42 100644
--- a/nx-X11/programs/Xserver/Xi/sendexev.c
+++ b/nx-X11/programs/Xserver/Xi/sendexev.c
@@ -54,8 +54,6 @@ SOFTWARE.
*/
#define EXTENSION_EVENT_BASE 64
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/setbmap.c b/nx-X11/programs/Xserver/Xi/setbmap.c
index 050a14ad3..bbd4fbc46 100644
--- a/nx-X11/programs/Xserver/Xi/setbmap.c
+++ b/nx-X11/programs/Xserver/Xi/setbmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#define IsOn(ptr, bit) \
(((BYTE *) (ptr))[(bit)>>3] & (1 << ((bit) & 7)))
diff --git a/nx-X11/programs/Xserver/Xi/setdval.c b/nx-X11/programs/Xserver/Xi/setdval.c
index f59577ac3..3da1ca38e 100644
--- a/nx-X11/programs/Xserver/Xi/setdval.c
+++ b/nx-X11/programs/Xserver/Xi/setdval.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/setfocus.c b/nx-X11/programs/Xserver/Xi/setfocus.c
index 180fb835e..09008ab88 100644
--- a/nx-X11/programs/Xserver/Xi/setfocus.c
+++ b/nx-X11/programs/Xserver/Xi/setfocus.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/setmmap.c b/nx-X11/programs/Xserver/Xi/setmmap.c
index 7fa5d25f9..8bedb2050 100644
--- a/nx-X11/programs/Xserver/Xi/setmmap.c
+++ b/nx-X11/programs/Xserver/Xi/setmmap.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS /* for inputstr.h */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/setmode.c b/nx-X11/programs/Xserver/Xi/setmode.c
index ea6e0826f..20985850f 100644
--- a/nx-X11/programs/Xserver/Xi/setmode.c
+++ b/nx-X11/programs/Xserver/Xi/setmode.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/stubs.c b/nx-X11/programs/Xserver/Xi/stubs.c
index 33c55d3b7..8e0d75f3e 100644
--- a/nx-X11/programs/Xserver/Xi/stubs.c
+++ b/nx-X11/programs/Xserver/Xi/stubs.c
@@ -57,7 +57,6 @@ SOFTWARE.
* Xnest could do the same thing.
*/
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/ungrdev.c b/nx-X11/programs/Xserver/Xi/ungrdev.c
index a0611d53b..6cc6511d7 100644
--- a/nx-X11/programs/Xserver/Xi/ungrdev.c
+++ b/nx-X11/programs/Xserver/Xi/ungrdev.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/ungrdevb.c b/nx-X11/programs/Xserver/Xi/ungrdevb.c
index dd770064d..cc3986931 100644
--- a/nx-X11/programs/Xserver/Xi/ungrdevb.c
+++ b/nx-X11/programs/Xserver/Xi/ungrdevb.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/Xi/ungrdevk.c b/nx-X11/programs/Xserver/Xi/ungrdevk.c
index fcb470eaa..ac47d505e 100644
--- a/nx-X11/programs/Xserver/Xi/ungrdevk.c
+++ b/nx-X11/programs/Xserver/Xi/ungrdevk.c
@@ -53,8 +53,6 @@ SOFTWARE.
*
*/
-#define NEED_EVENTS
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/damageext/damageextint.h b/nx-X11/programs/Xserver/damageext/damageextint.h
index 0021dda9d..ba9212eba 100644
--- a/nx-X11/programs/Xserver/damageext/damageextint.h
+++ b/nx-X11/programs/Xserver/damageext/damageextint.h
@@ -29,7 +29,6 @@
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
-#define NEED_EVENTS
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/programs/Xserver/dbe/dbe.c b/nx-X11/programs/Xserver/dbe/dbe.c
index b35a19969..3dff2cf06 100644
--- a/nx-X11/programs/Xserver/dbe/dbe.c
+++ b/nx-X11/programs/Xserver/dbe/dbe.c
@@ -36,7 +36,6 @@
/* INCLUDES */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/dbe/midbe.c b/nx-X11/programs/Xserver/dbe/midbe.c
index c83b42771..c01500cdc 100644
--- a/nx-X11/programs/Xserver/dbe/midbe.c
+++ b/nx-X11/programs/Xserver/dbe/midbe.c
@@ -35,8 +35,6 @@
/* INCLUDES */
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/dix/colormap.c b/nx-X11/programs/Xserver/dix/colormap.c
index 44095b729..7e586a0db 100644
--- a/nx-X11/programs/Xserver/dix/colormap.c
+++ b/nx-X11/programs/Xserver/dix/colormap.c
@@ -54,7 +54,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "dix.h"
diff --git a/nx-X11/programs/Xserver/dix/devices.c b/nx-X11/programs/Xserver/dix/devices.c
index ccce2324b..1eccae567 100644
--- a/nx-X11/programs/Xserver/dix/devices.c
+++ b/nx-X11/programs/Xserver/dix/devices.c
@@ -57,8 +57,6 @@ SOFTWARE.
#include <nx-X11/X.h>
#include "misc.h"
#include "resource.h"
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"
diff --git a/nx-X11/programs/Xserver/dix/dixfonts.c b/nx-X11/programs/Xserver/dix/dixfonts.c
index 421345ef6..b6c363798 100644
--- a/nx-X11/programs/Xserver/dix/dixfonts.c
+++ b/nx-X11/programs/Xserver/dix/dixfonts.c
@@ -51,7 +51,6 @@ Equipment Corporation.
******************************************************************/
/* $Xorg: dixfonts.c,v 1.4 2000/08/17 19:48:18 cpqbld Exp $ */
-#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/dix/events.c b/nx-X11/programs/Xserver/dix/events.c
index d06d9b823..ed2e331dc 100644
--- a/nx-X11/programs/Xserver/dix/events.c
+++ b/nx-X11/programs/Xserver/dix/events.c
@@ -118,8 +118,6 @@ of the copyright holder.
#include <nx-X11/X.h>
#include "misc.h"
#include "resource.h"
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"
diff --git a/nx-X11/programs/Xserver/dix/extension.c b/nx-X11/programs/Xserver/dix/extension.c
index b0859757b..fc52b4c65 100644
--- a/nx-X11/programs/Xserver/dix/extension.c
+++ b/nx-X11/programs/Xserver/dix/extension.c
@@ -52,8 +52,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"
diff --git a/nx-X11/programs/Xserver/dix/grabs.c b/nx-X11/programs/Xserver/dix/grabs.c
index d72ef3f6a..50e060e7e 100644
--- a/nx-X11/programs/Xserver/dix/grabs.c
+++ b/nx-X11/programs/Xserver/dix/grabs.c
@@ -54,7 +54,6 @@ SOFTWARE.
#include <nx-X11/X.h>
#include "misc.h"
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"
diff --git a/nx-X11/programs/Xserver/dix/main.c b/nx-X11/programs/Xserver/dix/main.c
index de53a6593..20b635c19 100644
--- a/nx-X11/programs/Xserver/dix/main.c
+++ b/nx-X11/programs/Xserver/dix/main.c
@@ -79,7 +79,6 @@ Equipment Corporation.
/* $TOG: main.c /main/86 1998/02/09 14:20:03 kaleb $ */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/dix/property.c b/nx-X11/programs/Xserver/dix/property.c
index 7ed66b60a..527a2e91a 100644
--- a/nx-X11/programs/Xserver/dix/property.c
+++ b/nx-X11/programs/Xserver/dix/property.c
@@ -52,8 +52,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "windowstr.h"
#include "propertyst.h"
diff --git a/nx-X11/programs/Xserver/dix/resource.c b/nx-X11/programs/Xserver/dix/resource.c
index 40a063891..7cf5a470e 100644
--- a/nx-X11/programs/Xserver/dix/resource.c
+++ b/nx-X11/programs/Xserver/dix/resource.c
@@ -101,7 +101,6 @@ Equipment Corporation.
*/
/* $XFree86: xc/programs/Xserver/dix/resource.c,v 3.13 2003/09/24 02:43:13 dawes Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/dix/swaprep.c b/nx-X11/programs/Xserver/dix/swaprep.c
index cd6663333..5f538e6bd 100644
--- a/nx-X11/programs/Xserver/dix/swaprep.c
+++ b/nx-X11/programs/Xserver/dix/swaprep.c
@@ -53,8 +53,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_REPLIES
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"
diff --git a/nx-X11/programs/Xserver/dix/swapreq.c b/nx-X11/programs/Xserver/dix/swapreq.c
index e5ac71710..16ff026a2 100644
--- a/nx-X11/programs/Xserver/dix/swapreq.c
+++ b/nx-X11/programs/Xserver/dix/swapreq.c
@@ -53,7 +53,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include <nx-X11/Xprotostr.h>
#include "misc.h"
diff --git a/nx-X11/programs/Xserver/dix/tables.c b/nx-X11/programs/Xserver/dix/tables.c
index df15de7d1..2a2146ce9 100644
--- a/nx-X11/programs/Xserver/dix/tables.c
+++ b/nx-X11/programs/Xserver/dix/tables.c
@@ -52,8 +52,6 @@ SOFTWARE.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "windowstr.h"
#include "extnsionst.h"
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 2fb53d440..2fe9dfbc9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -15,8 +15,6 @@
/* */
/**************************************************************************/
-#define NEED_EVENTS
-
#include "X.h"
#include "Xproto.h"
#include "Xatom.h"
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 52b869f71..d94a76a21 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -18,7 +18,6 @@
#include "X.h"
#include "signal.h"
#include "unistd.h"
-#define NEED_EVENTS
#include "Xproto.h"
#include "screenint.h"
#include "input.h"
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
index e85cdfdb6..921aa73a0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -34,7 +34,6 @@ is" without express or implied warranty.
#include <string.h>
#include <stdlib.h>
-#define NEED_EVENTS
#include "X.h"
#include "Xproto.h"
#include "keysym.h"
diff --git a/nx-X11/programs/Xserver/include/closestr.h b/nx-X11/programs/Xserver/include/closestr.h
index 31b5693f5..89660a1dc 100644
--- a/nx-X11/programs/Xserver/include/closestr.h
+++ b/nx-X11/programs/Xserver/include/closestr.h
@@ -32,7 +32,6 @@ from The Open Group.
#ifndef CLOSESTR_H
#define CLOSESTR_H
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "closure.h"
#include "dix.h"
diff --git a/nx-X11/programs/Xserver/include/dixfontstr.h b/nx-X11/programs/Xserver/include/dixfontstr.h
index 09a162451..99b020df5 100644
--- a/nx-X11/programs/Xserver/include/dixfontstr.h
+++ b/nx-X11/programs/Xserver/include/dixfontstr.h
@@ -29,7 +29,6 @@ SOFTWARE.
#include "dixfont.h"
#include <X11/fonts/fontstruct.h>
#include "closure.h"
-#define NEED_REPLIES
#include <nx-X11/Xproto.h> /* for xQueryFontReply */
#define FONTCHARSET(font) (font)
diff --git a/nx-X11/programs/Xserver/mi/mibstore.c b/nx-X11/programs/Xserver/mi/mibstore.c
index 13415177c..16771615c 100644
--- a/nx-X11/programs/Xserver/mi/mibstore.c
+++ b/nx-X11/programs/Xserver/mi/mibstore.c
@@ -44,7 +44,6 @@ implied warranty.
/* $XFree86: xc/programs/Xserver/mi/mibstore.c,v 1.10tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/mi/midispcur.c b/nx-X11/programs/Xserver/mi/midispcur.c
index 4d5e055eb..24d964080 100644
--- a/nx-X11/programs/Xserver/mi/midispcur.c
+++ b/nx-X11/programs/Xserver/mi/midispcur.c
@@ -36,7 +36,6 @@ in this Software without prior written authorization from The Open Group.
#include <dix-config.h>
#endif
-#define NEED_EVENTS
# include <nx-X11/X.h>
# include "misc.h"
# include "input.h"
diff --git a/nx-X11/programs/Xserver/mi/mieq.c b/nx-X11/programs/Xserver/mi/mieq.c
index 14784433d..d41da1c09 100644
--- a/nx-X11/programs/Xserver/mi/mieq.c
+++ b/nx-X11/programs/Xserver/mi/mieq.c
@@ -34,7 +34,6 @@ in this Software without prior written authorization from The Open Group.
*
*/
-# define NEED_EVENTS
# include <nx-X11/X.h>
# include <nx-X11/Xmd.h>
# include <nx-X11/Xproto.h>
diff --git a/nx-X11/programs/Xserver/mi/miexpose.c b/nx-X11/programs/Xserver/mi/miexpose.c
index d256c293f..e55e712d6 100644
--- a/nx-X11/programs/Xserver/mi/miexpose.c
+++ b/nx-X11/programs/Xserver/mi/miexpose.c
@@ -81,7 +81,6 @@ Equipment Corporation.
#endif
#include <nx-X11/X.h>
-#define NEED_EVENTS
#include <nx-X11/Xproto.h>
#include <nx-X11/Xprotostr.h>
diff --git a/nx-X11/programs/Xserver/mi/mipointer.c b/nx-X11/programs/Xserver/mi/mipointer.c
index 3e9fd0760..d86c27e75 100644
--- a/nx-X11/programs/Xserver/mi/mipointer.c
+++ b/nx-X11/programs/Xserver/mi/mipointer.c
@@ -34,7 +34,6 @@ in this Software without prior written authorization from The Open Group.
#include <dix-config.h>
#endif
-# define NEED_EVENTS
# include <nx-X11/X.h>
# include <nx-X11/Xmd.h>
# include <nx-X11/Xproto.h>
diff --git a/nx-X11/programs/Xserver/os/io.c b/nx-X11/programs/Xserver/os/io.c
index 470d1bec2..557138a7a 100644
--- a/nx-X11/programs/Xserver/os/io.c
+++ b/nx-X11/programs/Xserver/os/io.c
@@ -77,7 +77,6 @@ SOFTWARE.
#endif
#endif
#include <nx-X11/X.h>
-#define NEED_REPLIES
#include <nx-X11/Xproto.h>
#include "os.h"
#include "osdep.h"
diff --git a/nx-X11/programs/Xserver/randr/randr.c b/nx-X11/programs/Xserver/randr/randr.c
index 8ff3f9c75..4c8576633 100644
--- a/nx-X11/programs/Xserver/randr/randr.c
+++ b/nx-X11/programs/Xserver/randr/randr.c
@@ -42,8 +42,6 @@
/* */
/**************************************************************************/
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/record/record.c b/nx-X11/programs/Xserver/record/record.c
index 7417f79b9..024cad2d5 100644
--- a/nx-X11/programs/Xserver/record/record.c
+++ b/nx-X11/programs/Xserver/record/record.c
@@ -35,7 +35,6 @@ and Jim Haggerty of Metheus.
*/
/* $XFree86: xc/programs/Xserver/record/record.c,v 1.11 2003/11/03 05:12:01 tsi Exp $ */
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/render/render.c b/nx-X11/programs/Xserver/render/render.c
index 764874507..d2312aaef 100644
--- a/nx-X11/programs/Xserver/render/render.c
+++ b/nx-X11/programs/Xserver/render/render.c
@@ -24,8 +24,6 @@
* Author: Keith Packard, SuSE, Inc.
*/
-#define NEED_REPLIES
-#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
diff --git a/nx-X11/programs/Xserver/xfixes/xfixesint.h b/nx-X11/programs/Xserver/xfixes/xfixesint.h
index a883acaec..70550f5f1 100644
--- a/nx-X11/programs/Xserver/xfixes/xfixesint.h
+++ b/nx-X11/programs/Xserver/xfixes/xfixesint.h
@@ -29,7 +29,6 @@
#ifndef _XFIXESINT_H_
#define _XFIXESINT_H_
-#define NEED_EVENTS
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/programs/Xserver/xkb/ddxBeep.c b/nx-X11/programs/Xserver/xkb/ddxBeep.c
index e99e4c2dd..d2bd0c90e 100644
--- a/nx-X11/programs/Xserver/xkb/ddxBeep.c
+++ b/nx-X11/programs/Xserver/xkb/ddxBeep.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxConfig.c b/nx-X11/programs/Xserver/xkb/ddxConfig.c
index 8ffd344ca..81797839e 100644
--- a/nx-X11/programs/Xserver/xkb/ddxConfig.c
+++ b/nx-X11/programs/Xserver/xkb/ddxConfig.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxCtrls.c b/nx-X11/programs/Xserver/xkb/ddxCtrls.c
index 9fee8aa30..a6c0878cb 100644
--- a/nx-X11/programs/Xserver/xkb/ddxCtrls.c
+++ b/nx-X11/programs/Xserver/xkb/ddxCtrls.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxDevBtn.c b/nx-X11/programs/Xserver/xkb/ddxDevBtn.c
index 04094e787..4d5d4f0ac 100644
--- a/nx-X11/programs/Xserver/xkb/ddxDevBtn.c
+++ b/nx-X11/programs/Xserver/xkb/ddxDevBtn.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxFakeBtn.c b/nx-X11/programs/Xserver/xkb/ddxFakeBtn.c
index b77d040ff..a599b44f6 100644
--- a/nx-X11/programs/Xserver/xkb/ddxFakeBtn.c
+++ b/nx-X11/programs/Xserver/xkb/ddxFakeBtn.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxFakeMtn.c b/nx-X11/programs/Xserver/xkb/ddxFakeMtn.c
index 7f096683b..894633c3c 100644
--- a/nx-X11/programs/Xserver/xkb/ddxFakeMtn.c
+++ b/nx-X11/programs/Xserver/xkb/ddxFakeMtn.c
@@ -32,7 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxInit.c b/nx-X11/programs/Xserver/xkb/ddxInit.c
index 00ffea14e..675ca0d01 100644
--- a/nx-X11/programs/Xserver/xkb/ddxInit.c
+++ b/nx-X11/programs/Xserver/xkb/ddxInit.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxKeyClick.c b/nx-X11/programs/Xserver/xkb/ddxKeyClick.c
index e56377ca5..882534bb7 100644
--- a/nx-X11/programs/Xserver/xkb/ddxKeyClick.c
+++ b/nx-X11/programs/Xserver/xkb/ddxKeyClick.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxKillSrv.c b/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
index 44fad85ca..91c7fe064 100644
--- a/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
+++ b/nx-X11/programs/Xserver/xkb/ddxKillSrv.c
@@ -35,7 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxLEDs.c b/nx-X11/programs/Xserver/xkb/ddxLEDs.c
index 92ab12ee8..269b9c05b 100644
--- a/nx-X11/programs/Xserver/xkb/ddxLEDs.c
+++ b/nx-X11/programs/Xserver/xkb/ddxLEDs.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxList.c b/nx-X11/programs/Xserver/xkb/ddxList.c
index 90ac3d892..b14ad308f 100644
--- a/nx-X11/programs/Xserver/xkb/ddxList.c
+++ b/nx-X11/programs/Xserver/xkb/ddxList.c
@@ -32,7 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <ctype.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xos.h>
#include <nx-X11/Xproto.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxLoad.c b/nx-X11/programs/Xserver/xkb/ddxLoad.c
index 9134e4754..45140dfea 100644
--- a/nx-X11/programs/Xserver/xkb/ddxLoad.c
+++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c
@@ -43,7 +43,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <sys/stat.h>
#include <unistd.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xos.h>
#include <nx-X11/Xproto.h>
diff --git a/nx-X11/programs/Xserver/xkb/ddxPrivate.c b/nx-X11/programs/Xserver/xkb/ddxPrivate.c
index c71216d70..ce09038a0 100644
--- a/nx-X11/programs/Xserver/xkb/ddxPrivate.c
+++ b/nx-X11/programs/Xserver/xkb/ddxPrivate.c
@@ -9,7 +9,6 @@
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include "windowstr.h"
#define XKBSRV_NEED_FILE_FUNCS
diff --git a/nx-X11/programs/Xserver/xkb/ddxVT.c b/nx-X11/programs/Xserver/xkb/ddxVT.c
index 1806ed257..4b95aa625 100644
--- a/nx-X11/programs/Xserver/xkb/ddxVT.c
+++ b/nx-X11/programs/Xserver/xkb/ddxVT.c
@@ -35,7 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 52c5d36bf..a58b02e00 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -32,8 +32,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/programs/Xserver/xkb/xkbAccessX.c b/nx-X11/programs/Xserver/xkb/xkbAccessX.c
index ac5713d05..2fc5eae81 100644
--- a/nx-X11/programs/Xserver/xkb/xkbAccessX.c
+++ b/nx-X11/programs/Xserver/xkb/xkbAccessX.c
@@ -35,7 +35,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef __QNX__
#include <limits.h>
#endif
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbActions.c b/nx-X11/programs/Xserver/xkb/xkbActions.c
index 7bc6b3476..c6714ef9f 100644
--- a/nx-X11/programs/Xserver/xkb/xkbActions.c
+++ b/nx-X11/programs/Xserver/xkb/xkbActions.c
@@ -33,7 +33,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbEvents.c b/nx-X11/programs/Xserver/xkb/xkbEvents.c
index 7c392abe5..f1089f313 100644
--- a/nx-X11/programs/Xserver/xkb/xkbEvents.c
+++ b/nx-X11/programs/Xserver/xkb/xkbEvents.c
@@ -31,7 +31,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif
#include <stdio.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbInit.c b/nx-X11/programs/Xserver/xkb/xkbInit.c
index bd65c4d97..bb599984a 100644
--- a/nx-X11/programs/Xserver/xkb/xkbInit.c
+++ b/nx-X11/programs/Xserver/xkb/xkbInit.c
@@ -40,7 +40,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <ctype.h>
#include <unistd.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbLEDs.c b/nx-X11/programs/Xserver/xkb/xkbLEDs.c
index 20203ef2c..a9e43d87c 100644
--- a/nx-X11/programs/Xserver/xkb/xkbLEDs.c
+++ b/nx-X11/programs/Xserver/xkb/xkbLEDs.c
@@ -33,7 +33,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <ctype.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include "misc.h"
diff --git a/nx-X11/programs/Xserver/xkb/xkbPrKeyEv.c b/nx-X11/programs/Xserver/xkb/xkbPrKeyEv.c
index 330fd2800..34bc65f8a 100644
--- a/nx-X11/programs/Xserver/xkb/xkbPrKeyEv.c
+++ b/nx-X11/programs/Xserver/xkb/xkbPrKeyEv.c
@@ -32,7 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbPrOtherEv.c b/nx-X11/programs/Xserver/xkb/xkbPrOtherEv.c
index ac601c525..e2709113a 100644
--- a/nx-X11/programs/Xserver/xkb/xkbPrOtherEv.c
+++ b/nx-X11/programs/Xserver/xkb/xkbPrOtherEv.c
@@ -32,7 +32,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#include <nx-X11/keysym.h>
diff --git a/nx-X11/programs/Xserver/xkb/xkbSwap.c b/nx-X11/programs/Xserver/xkb/xkbSwap.c
index 1aaff519e..1482c028e 100644
--- a/nx-X11/programs/Xserver/xkb/xkbSwap.c
+++ b/nx-X11/programs/Xserver/xkb/xkbSwap.c
@@ -32,8 +32,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/programs/Xserver/xkb/xkbUtils.c b/nx-X11/programs/Xserver/xkb/xkbUtils.c
index 465644f16..1f1c8cf72 100644
--- a/nx-X11/programs/Xserver/xkb/xkbUtils.c
+++ b/nx-X11/programs/Xserver/xkb/xkbUtils.c
@@ -33,7 +33,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <ctype.h>
#include <math.h>
-#define NEED_EVENTS 1
#include <nx-X11/X.h>
#include <nx-X11/Xproto.h>
#define XK_CYRILLIC
diff --git a/nxcompext/NXlib.c b/nxcompext/NXlib.c
index 452213bf1..c705d977d 100644
--- a/nxcompext/NXlib.c
+++ b/nxcompext/NXlib.c
@@ -26,8 +26,6 @@
#include "dix.h"
#include "os.h"
-#define NEED_REPLIES
-
/*
* Needed to enable definition of the callback
* functions.