[PATCH] libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic

Eric Anholt eric at anholt.net
Sun Sep 22 13:31:30 PDT 2013


Daniel Kurtz <djkurtz at chromium.org> writes:

> The following minor changes were needed to these headers:
>  * Convert // comments to /* */
>  * No , after final member of enum
>
> With these changes, these header files can be included by a program that
> is built with gcc options:
>   -std=c89 -Werror -pedantic

Just noticed this still in my todo pile and pushed it.  Sorry for the
delay!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130922/51448e0a/attachment.pgp>


More information about the dri-devel mailing list