projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6c2b64
)
drm/virgl: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:38:49 +0000
(19:38 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:20 +0000
(14:06 +0100)
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/virtgpu_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/virtgpu_drm.h
b/include/uapi/drm/virtgpu_drm.h
index c74f1f90cb373b3f7ee2bcf9f8013b4868225c2d..91a31ffed828ddfbad55967022d3a1df32db5340 100644
(file)
--- a/
include/uapi/drm/virtgpu_drm.h
+++ b/
include/uapi/drm/virtgpu_drm.h
@@
-26,6
+26,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints.
*
@@
-163,4
+167,8
@@
struct drm_virtgpu_get_caps {
DRM_IOWR(DRM_COMMAND_BASE + DRM_VIRTGPU_GET_CAPS, \
struct drm_virtgpu_get_caps)
+#if defined(__cplusplus)
+}
+#endif
+
#endif