aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt2017-11-08 13:06:55 -0600
committerEric Anholt2017-11-10 14:10:12 -0600
commit8d34bba212342ec0e187cd3602d01edba2d7ec26 (patch)
tree8b50bddbf45c7fb5dbd5eb4633c386905505900f /include/drm/qxl_drm.h
parente38de517991a20d7a2abdffc1bc4fd702e8f673c (diff)
downloadexternal-libgbm-8d34bba212342ec0e187cd3602d01edba2d7ec26.tar.gz
external-libgbm-8d34bba212342ec0e187cd3602d01edba2d7ec26.tar.xz
external-libgbm-8d34bba212342ec0e187cd3602d01edba2d7ec26.zip
headers: Sync up some header guard changes from drm-next.
This pulls in pieces of drm-next d65d31388a23 ("Merge tag 'drm-misc-next-fixes-2017-11-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next") Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/drm/qxl_drm.h')
-rw-r--r--include/drm/qxl_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h
index 1e331a86..ccd841b1 100644
--- a/include/drm/qxl_drm.h
+++ b/include/drm/qxl_drm.h
@@ -27,6 +27,10 @@
27#include <stddef.h> 27#include <stddef.h>
28#include "drm.h" 28#include "drm.h"
29 29
30#if defined(__cplusplus)
31extern "C" {
32#endif
33
30/* Please note that modifications to all structs defined here are 34/* Please note that modifications to all structs defined here are
31 * subject to backwards-compatibility constraints. 35 * subject to backwards-compatibility constraints.
32 * 36 *
@@ -149,4 +153,8 @@ struct drm_qxl_alloc_surf {
149 DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\ 153 DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\
150 struct drm_qxl_alloc_surf) 154 struct drm_qxl_alloc_surf)
151 155
156#if defined(__cplusplus)
157}
158#endif
159
152#endif 160#endif