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: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Peter Hutterer 2008-11-28 22:28:32 +10:00 committed by Peter Hutterer
parent 920b7622be
commit cb95642dc8
182 changed files with 0 additions and 265 deletions

View File

@ -26,7 +26,6 @@ from The Open Group.
*/
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -29,7 +29,6 @@
#ifndef _GEINT_H_
#define _GEINT_H_
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"

View File

@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group.
********************************************************/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -25,8 +25,6 @@ in this Software without prior written authorization from The Open Group.
*/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group.
********************************************************/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -31,7 +31,6 @@ Equipment Corporation.
#include <dmx-config.h>
#endif
#define NEED_REPLIES
#include <stdio.h>
#include <X11/X.h>
#include <X11/Xproto.h>

View File

@ -32,8 +32,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"

View File

@ -27,8 +27,6 @@ in this Software without prior written authorization from the X Consortium.
*/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -24,8 +24,6 @@ in this Software without prior written authorization from The Open Group.
********************************************************/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -38,8 +38,6 @@ in this Software without prior written authorization from The Open Group.
#include <sys/shm.h>
#include <unistd.h>
#include <sys/stat.h>
#define NEED_REPLIES
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"

View File

@ -50,8 +50,6 @@ PERFORMANCE OF THIS SOFTWARE.
*/
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -24,8 +24,6 @@
#include <kdrive-config.h>
#endif
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/X.h>
#include <X11/Xproto.h>

View File

@ -26,8 +26,6 @@ from The Open Group.
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -2,8 +2,6 @@
Copyright (c) 2002 XFree86 Inc
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -31,7 +31,6 @@
#endif
#include <X11/X.h>
#define NEED_EVENTS
#include <X11/Xproto.h>
#include "misc.h"
#include "os.h"

View File

@ -1,6 +1,4 @@
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -29,8 +29,6 @@
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -30,8 +30,6 @@
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -52,7 +52,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -29,8 +29,6 @@
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -52,8 +52,6 @@ SOFTWARE.
#define NUMTYPES 15
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -23,8 +23,6 @@
* Author: Peter Hutterer, University of South Australia, NICTA
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -29,8 +29,6 @@
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -32,8 +32,6 @@ from The Open Group.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#define IsOn(ptr, bit) \
(((BYTE *) (ptr))[(bit)>>3] & (1 << ((bit) & 7)))

View File

@ -31,8 +31,6 @@
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS /* for inputstr.h */
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -54,7 +54,6 @@ SOFTWARE.
* Xnest could do the same thing.
*/
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -29,8 +29,6 @@
*
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -23,8 +23,6 @@
* Author: Peter Hutterer, University of South Australia, NICTA
*/
#define NEED_EVENTS
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>

View File

@ -27,7 +27,6 @@
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"

View File

@ -33,7 +33,6 @@
/* INCLUDES */
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -33,8 +33,6 @@
/* INCLUDES */
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -51,7 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_EVENTS
#include <X11/Xproto.h>
#include <stdio.h>
#include <string.h>

View File

@ -54,8 +54,6 @@ SOFTWARE.
#include <X11/X.h>
#include "misc.h"
#include "resource.h"
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include "windowstr.h"

View File

@ -48,7 +48,6 @@ Equipment Corporation.
******************************************************************/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -120,8 +120,6 @@ of the copyright holder.
#include <X11/keysym.h>
#include "misc.h"
#include "resource.h"
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"

View File

@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"

View File

@ -30,8 +30,6 @@
#include <X11/X.h>
#include <X11/keysym.h>
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "misc.h"

View File

@ -52,7 +52,6 @@ SOFTWARE.
#include <X11/X.h>
#include "misc.h"
#define NEED_EVENTS
#include <X11/Xproto.h>
#include "windowstr.h"
#include "inputstr.h"

View File

@ -74,7 +74,6 @@ Equipment Corporation.
******************************************************************/
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_REPLIES
#define NEED_EVENTS
#include <X11/Xproto.h>
#include "windowstr.h"
#include "propertyst.h"

View File

@ -124,7 +124,6 @@ Equipment Corporation.
* resource "owned" by the client.
*/
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -51,8 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_REPLIES
#define NEED_EVENTS
#include <X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"

View File

@ -51,7 +51,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_EVENTS
#include <X11/Xproto.h>
#include <X11/Xprotostr.h>
#include "misc.h"

View File

@ -50,8 +50,6 @@ SOFTWARE.
#endif
#include <X11/X.h>
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "windowstr.h"
#include "extnsionst.h"

View File

@ -33,7 +33,6 @@
#include "exa.h"
#include <X11/X.h>
#define NEED_EVENTS
#include <X11/Xproto.h>
#ifdef MITSHM
#include "shmint.h"

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#define FONT_PCF
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>

View File

@ -29,7 +29,6 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -23,7 +23,6 @@
* SOFTWARE.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
/* #define NEED_REPLIES */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
/* #define NEED_REPLIES */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -22,7 +22,6 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#include "glxserver.h"
#include "glxext.h"
#include "g_disptab.h"

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#include "glxserver.h"
/*

View File

@ -43,7 +43,6 @@
#undef Xrealloc
#undef Xfree
#define NEED_REPLIES
#define FONT_PCF
#include "glxserver.h"
#include <GL/glxtokens.h>

View File

@ -28,7 +28,6 @@
* Silicon Graphics, Inc.
*/
#define NEED_REPLIES
#define FONT_PCF
#include "glxserver.h"
#include "glxutil.h"

View File

@ -34,7 +34,6 @@
#include "dmx.h"
#define NEED_REPLIES
#include "glxserver.h"
#include <windowstr.h>
#include <propertyst.h>

Some files were not shown because too many files have changed in this diff Show More