diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 14:37:48 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-13 09:06:19 -0400 |
commit | b6c2b64223d27ca579cce61fa5ffbf71b3f12a38 (patch) | |
tree | 3045640600da7b9105314e796f6d7de726bc039e /include/uapi | |
parent | 6a982350f892c286c645a6fe0e1da1f869a0c43f (diff) |
drm/via: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/via_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index fa21ed185520..a1e125d42208 100644 --- a/include/uapi/drm/via_drm.h +++ b/include/uapi/drm/via_drm.h | |||
@@ -26,6 +26,10 @@ | |||
26 | 26 | ||
27 | #include "drm.h" | 27 | #include "drm.h" |
28 | 28 | ||
29 | #if defined(__cplusplus) | ||
30 | extern "C" { | ||
31 | #endif | ||
32 | |||
29 | /* WARNING: These defines must be the same as what the Xserver uses. | 33 | /* WARNING: These defines must be the same as what the Xserver uses. |
30 | * if you change them, you must change the defines in the Xserver. | 34 | * if you change them, you must change the defines in the Xserver. |
31 | */ | 35 | */ |
@@ -271,4 +275,8 @@ typedef struct drm_via_dmablit { | |||
271 | drm_via_blitsync_t sync; | 275 | drm_via_blitsync_t sync; |
272 | } drm_via_dmablit_t; | 276 | } drm_via_dmablit_t; |
273 | 277 | ||
278 | #if defined(__cplusplus) | ||
279 | } | ||
280 | #endif | ||
281 | |||
274 | #endif /* _VIA_DRM_H_ */ | 282 | #endif /* _VIA_DRM_H_ */ |