Commit fa651994 authored by Ulrich Sibiller's avatar Ulrich Sibiller

remove unreferenced NEED_EVENTS/NEED_REPLIES

Remove defines of NEED_EVENTS and NEED_REPLIES because they are never used anywhere. Basically these three commits, but as they are newer and to not match the code structure the patches have not been applied but replaced by sed + manual intervention: From cb95642dc8edebb2935dd471f8b339cb98aa8481 Mon Sep 17 00:00:00 2001 From: Peter Hutterer <peter.hutterer@redhat.com> Date: Fri, 28 Nov 2008 22:28:32 +1000 Subject: Remove #define NEED_EVENTS and NEED_REPLIES A grep on xorg/* revealed there's no consumer of this define. Quote Alan Coopersmith: "The consumer was in past versions of the headers now located in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h, all the event definitions were only available if NEED_EVENTS were defined, and all the reply definitions required NEED_REPLIES. Looks like Xproto.h dropped them by X11R6.3, which didn't have the #ifdef's anymore, so these are truly ancient now." Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@redhat.com> Signed-off-by: 's avatarAdam Jackson <ajax@redhat.com> -- From 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d Mon Sep 17 00:00:00 2001 From: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Thu, 1 Jul 2010 06:50:47 -0300 Subject: Purge macros NEED_EVENTS and NEED_REPLIES Signed-off-by: 's avatarFernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: 's avatarTiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com> -- From 57c03e52e6b4e3ed54df5fdd778865467d08e119 Mon Sep 17 00:00:00 2001 From: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Thu, 1 Jul 2010 06:59:48 -0300 Subject: Purge macro NEED_EVENTS Signed-off-by: 's avatarFernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: 's avatarTiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent ff0d46e0
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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>
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -50,7 +50,6 @@ from The Open Group.
*/
#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -27,8 +27,6 @@ from The Open Group.
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -50,7 +50,6 @@ from The Open Group.
*/
#define NEED_EVENTS
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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>
......
......@@ -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"
......
......@@ -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"
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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"
......
......@@ -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"
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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"
......
......@@ -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"
......
......@@ -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>
......
......@@ -44,7 +44,6 @@ from The Open Group.
/* */
/**************************************************************************/
#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -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_
......
......@@ -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 */
......
......@@ -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
......
......@@ -35,8 +35,6 @@
*/
/* $XFree86$ */
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment