projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c1f5c
)
drm/mga: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:01:39 +0000
(19:01 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:07 +0000
(14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/mga_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/mga_drm.h
b/include/uapi/drm/mga_drm.h
index
fca8170
..
8c43375
100644
(file)
--- a/
include/uapi/drm/mga_drm.h
+++ b/
include/uapi/drm/mga_drm.h
@@
-37,6
+37,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 Xserver file (mga_sarea.h)
*/
@@
-416,4
+420,8
@@
typedef struct drm_mga_getparam {
void __user *value;
} drm_mga_getparam_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif