[PATCH 1/3] drm: Make drm.h uapi header safe for C++

2016-04-06 Thread Gabriel Laskar
On Wed, 30 Mar 2016 16:19:42 +0200 Daniel Vetter wrote: > virtual is a protected keyword in C++ and can't be used at all. Ugh. > > This aligns the kernel versions of the drm headers with the ones in > libdrm. > > Cc: Emil Velikov > Signed-off-by: Daniel Vetter > --- > include/uapi/drm/drm.h

[PATCH 1/3] drm: Make drm.h uapi header safe for C++

2016-04-06 Thread Emil Velikov
On 6 April 2016 at 16:58, Gabriel Laskar wrote: > On Wed, 30 Mar 2016 16:19:42 +0200 > Daniel Vetter wrote: > >> virtual is a protected keyword in C++ and can't be used at all. Ugh. >> >> This aligns the kernel versions of the drm headers with the ones in >> libdrm. >> >> Cc: Emil Velikov >> Sig

[PATCH 1/3] drm: Make drm.h uapi header safe for C++

2016-03-30 Thread Daniel Vetter
virtual is a protected keyword in C++ and can't be used at all. Ugh. This aligns the kernel versions of the drm headers with the ones in libdrm. Cc: Emil Velikov Signed-off-by: Daniel Vetter --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm