projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a96be
)
drm/i810: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 17:59:30 +0000
(18:59 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:05:17 +0000
(14:05 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/uapi/drm/i810_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/i810_drm.h
b/include/uapi/drm/i810_drm.h
index
bdb0287
..
6e6cf86
100644
(file)
--- a/
include/uapi/drm/i810_drm.h
+++ b/
include/uapi/drm/i810_drm.h
@@
-3,6
+3,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.
*/
@@
-280,4
+284,8
@@
typedef struct _drm_i810_mc {
unsigned int last_render; /* Last Render Request */
} drm_i810_mc_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _I810_DRM_H_ */