projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3818081
)
drm/vmwgfx: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:40:10 +0000
(19:40 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:21 +0000
(14:06 +0100)
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Sinclair Yeh <syeh@vmware.com>
include/uapi/drm/vmwgfx_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/vmwgfx_drm.h
b/include/uapi/drm/vmwgfx_drm.h
index 5b68b4d10884c2d9e34d6ec8937216f6f9d3097f..d325a4107916ad512df517b1ae21dab318f6c13c 100644
(file)
--- a/
include/uapi/drm/vmwgfx_drm.h
+++ b/
include/uapi/drm/vmwgfx_drm.h
@@
-30,6
+30,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#define DRM_VMW_MAX_SURFACE_FACES 6
#define DRM_VMW_MAX_MIP_LEVELS 24
@@
-1087,4
+1091,9
@@
union drm_vmw_extended_context_arg {
enum drm_vmw_extended_context req;
struct drm_vmw_context_arg rep;
};
+
+#if defined(__cplusplus)
+}
+#endif
+
#endif