[PATCH xorgproto 1/2] Remove the use of no-op B16 & B32 bitfield macros in headers

Keith Packard keithp at keithp.com
Mon Jun 18 00:30:57 UTC 2018


Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> 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 at oracle.com>

Acked-by: Keith Packard <keithp at keithp.com>

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180617/e4576f9c/attachment.sig>


More information about the xorg-devel mailing list