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

@@ -30,7 +30,6 @@ from The Open Group.
#ifndef CLOSESTR_H
#define CLOSESTR_H
#define NEED_REPLIES
#include <X11/Xproto.h>
#include "closure.h"
#include "dix.h"

View File

@@ -28,7 +28,6 @@ SOFTWARE.
#include "dixfont.h"
#include <X11/fonts/fontstruct.h>
#include "closure.h"
#define NEED_REPLIES
#include <X11/Xproto.h> /* for xQueryFontReply */
#define FONTCHARSET(font) (font)