summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-03-16 19:11:21 -0400
committerAdam Jackson <ajax@redhat.com>2018-03-19 15:25:13 -0400
commit30a2013800296b354449706ebb01b51bc52cd388 (patch)
tree714ee0db5008799eddbf31713e3bc6507e83c315 /include
parent702d2eaecd00e2a943e883b8f683ec9fb79a0652 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/randrproto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/X11/extensions/randrproto.h b/include/X11/extensions/randrproto.h
index 712c8b5..b0fd7f0 100644
--- a/include/X11/extensions/randrproto.h
+++ b/include/X11/extensions/randrproto.h
@@ -1126,6 +1126,7 @@ typedef struct {
} xRRDeleteMonitorReq;
#define sz_xRRDeleteMonitorReq 12
+#undef RRLease
#undef RRModeFlags
#undef RRCrtc
#undef RRMode