projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a98235
)
drm/via: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:37:48 +0000
(19:37 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:19 +0000
(14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/via_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/via_drm.h
b/include/uapi/drm/via_drm.h
index
fa21ed1
..
a1e125d
100644
(file)
--- a/
include/uapi/drm/via_drm.h
+++ b/
include/uapi/drm/via_drm.h
@@
-26,6
+26,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* WARNING: These defines must be the same as what the Xserver uses.
* if you change them, you must change the defines in the Xserver.
*/
@@
-271,4
+275,8
@@
typedef struct drm_via_dmablit {
drm_via_blitsync_t sync;
} drm_via_dmablit_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _VIA_DRM_H_ */