projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db26a9
)
drm/savage: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:14:34 +0000
(19:14 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:15 +0000
(14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/savage_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/savage_drm.h
b/include/uapi/drm/savage_drm.h
index
5741474
..
0f6edde
100644
(file)
--- a/
include/uapi/drm/savage_drm.h
+++ b/
include/uapi/drm/savage_drm.h
@@
-28,6
+28,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#ifndef __SAVAGE_SAREA_DEFINES__
#define __SAVAGE_SAREA_DEFINES__
@@
-209,4
+213,8
@@
union drm_savage_cmd_header {
} clear1; /* SAVAGE_CMD_CLEAR data */
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif