aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 13:59:30 -0400
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 09:05:17 -0400
commit79e7328db71350e652a963aa6049d13e272a6d24 (patch)
tree8086bd9923484985d15fcb89eab4184aa01867b7
parent37a96bedae42317e85dcb1a5064a3ef39ded338c (diff)
drm/i810: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--include/uapi/drm/i810_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/i810_drm.h b/include/uapi/drm/i810_drm.h
index bdb028723ded..6e6cf86b75b0 100644
--- a/include/uapi/drm/i810_drm.h
+++ b/include/uapi/drm/i810_drm.h
@@ -3,6 +3,10 @@
3 3
4#include "drm.h" 4#include "drm.h"
5 5
6#if defined(__cplusplus)
7extern "C" {
8#endif
9
6/* WARNING: These defines must be the same as what the Xserver uses. 10/* WARNING: These defines must be the same as what the Xserver uses.
7 * if you change them, you must change the defines in the Xserver. 11 * if you change them, you must change the defines in the Xserver.
8 */ 12 */
@@ -280,4 +284,8 @@ typedef struct _drm_i810_mc {
280 unsigned int last_render; /* Last Render Request */ 284 unsigned int last_render; /* Last Render Request */
281} drm_i810_mc_t; 285} drm_i810_mc_t;
282 286
287#if defined(__cplusplus)
288}
289#endif
290
283#endif /* _I810_DRM_H_ */ 291#endif /* _I810_DRM_H_ */