projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c92378a
)
drm/qxl: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:09:39 +0000
(19:09 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:12 +0000
(14:06 +0100)
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/qxl_drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/qxl_drm.h
b/include/uapi/drm/qxl_drm.h
index 826615d8e180aea436b85eb9065768d7f43b21d1..7eef42213051b4e80197c7983e12ed1cd79b4f20 100644
(file)
--- a/
include/uapi/drm/qxl_drm.h
+++ b/
include/uapi/drm/qxl_drm.h
@@
-26,6
+26,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.
*
@@
-147,4
+151,8
@@
struct drm_qxl_alloc_surf {
DRM_IOWR(DRM_COMMAND_BASE + DRM_QXL_ALLOC_SURF,\
struct drm_qxl_alloc_surf)
+#if defined(__cplusplus)
+}
+#endif
+
#endif