[PATCH 2/2] drm: Make uapi headers C89 pendantic compliant
Daniel Vetter
daniel at ffwll.ch
Thu Mar 31 05:58:19 UTC 2016
On Wed, Mar 30, 2016 at 09:06:33PM +0100, Emil Velikov wrote:
> On 30 March 2016 at 15:42, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > This ports the below libdrm commit to the kernel
> >
> > commit 0f4452bb51306024fbf4cbf77d8baab20cefba67
> > Author: Daniel Kurtz <djkurtz at chromium.org>
> > Date: Mon Aug 26 23:39:16 2013 +0800
> >
> > libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic
> >
> > 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
> >
> > Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
> > Signed-off-by: Eric Anholt <eric at anholt.net>
> > Reviewed-by: Eric Anholt <eric at anholt.net>
> >
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Yes, please :-)
>
> Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Also applied, thanks for your review.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list