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:
485c40b
)
drm/r128: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:12:25 +0000
(19:12 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:13 +0000
(14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/r128_drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/r128_drm.h
b/include/uapi/drm/r128_drm.h
index 7a44c6500a7e1193897427f98b1103838529f27c..690e9c62f510782e45a247a081edc66d1c878864 100644
(file)
--- a/
include/uapi/drm/r128_drm.h
+++ b/
include/uapi/drm/r128_drm.h
@@
-35,6
+35,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* WARNING: If you change any of these defines, make sure to change the
* defines in the X server file (r128_sarea.h)
*/
@@
-325,4
+329,8
@@
typedef struct drm_r128_getparam {
void __user *value;
} drm_r128_getparam_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif