Skip to content
Snippets Groups Projects
Commit 641db343 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

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: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: default avatarKeith Packard <keithp@keithp.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent af9b5f43
No related branches found
No related tags found
Loading
Showing
with 3261 additions and 3261 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment