randrproto: Fix missing #undef RRLease

clang did not like this, and it's hard to blame it:

../randr/randrstr.h:66:13: warning: redefinition of typedef 'CARD32' is a C11 feature [-Wtypedef-redefinition]
typedef XID RRLease;
            ^
/opt/X11/include/X11/extensions/randrproto.h:53:17: note: expanded from macro 'RRLease'
                ^
/opt/X11/include/X11/Xmd.h:111:23: note: previous definition is here
typedef unsigned long CARD32;

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2018-03-16 19:11:21 -04:00
parent 702d2eaecd
commit 30a2013800

View file

@ -1126,6 +1126,7 @@ typedef struct {
} xRRDeleteMonitorReq; } xRRDeleteMonitorReq;
#define sz_xRRDeleteMonitorReq 12 #define sz_xRRDeleteMonitorReq 12
#undef RRLease
#undef RRModeFlags #undef RRModeFlags
#undef RRCrtc #undef RRCrtc
#undef RRMode #undef RRMode