mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 15:10:11 +01:00
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:
parent
702d2eaecd
commit
30a2013800
1 changed files with 1 additions and 0 deletions
|
|
@ -1126,6 +1126,7 @@ typedef struct {
|
|||
} xRRDeleteMonitorReq;
|
||||
#define sz_xRRDeleteMonitorReq 12
|
||||
|
||||
#undef RRLease
|
||||
#undef RRModeFlags
|
||||
#undef RRCrtc
|
||||
#undef RRMode
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue