summaryrefslogtreecommitdiff
path: root/include/X11/extensions/xtrapddmi.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-06-16 14:34:14 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-11-10 12:31:50 -0800
commit641db34376d18ed5b76ff8883284bef4898d71be (patch)
tree6005c776825c1a869140b276cea32c839c53c239 /include/X11/extensions/xtrapddmi.h
parentaf9b5f43439378efd1e12d11d487a71f42790fec (diff)
Remove the use of no-op B16 & B32 bitfield macros in headers
These have always done nothing on all platforms except CRAY. As https://bugs.freedesktop.org/show_bug.cgi?id=45202 points out we don't even detect when they've been wrong for decades. Performed via: find include -name '*.h' | grep -v md.h | xargs perl -i -p -e 's{\s+B\d+}{}g' followed by manual whitespace fixups to preserve visual alignment. The #defines for B16 & B32 are left in place to preserve compatibility in any code that used them outside the xorgproto repo. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Keith Packard <keithp@keithp.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'include/X11/extensions/xtrapddmi.h')
-rw-r--r--include/X11/extensions/xtrapddmi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/extensions/xtrapddmi.h b/include/X11/extensions/xtrapddmi.h
index 12283f7..4515ca6 100644
--- a/include/X11/extensions/xtrapddmi.h
+++ b/include/X11/extensions/xtrapddmi.h
@@ -67,8 +67,8 @@ typedef struct
ClientPtr client; /* Multi-client support and error handling */
xXTrapGetCurReply cur; /* Struct of Miscellaneous state info */
xXTrapGetStatsReply *stats; /* Pointer to stat's, malloc'd if requested */
- CARD32 last_input_time B32; /* last timestamp from input event */
- CARD16 protocol B16; /* current communication protocol */
+ CARD32 last_input_time; /* last timestamp from input event */
+ CARD16 protocol; /* current communication protocol */
} XETrapEnv;
#define XETrapSetHeaderEvent(phdr) ((phdr)->type = 0x1L)