mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Peter Hutterer
parent
920b7622be
commit
cb95642dc8
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user