aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2017-05-31 08:47:40 -0500
committerEric Engestrom2017-06-03 17:39:22 -0500
commit48aac8c6ef301be5ed4cf824779baa3c98981a90 (patch)
treeb5f064819f843faa84f6f2fa8ad3306775c8ac79 /include
parent1b8db1777983b917384c2ed78ed5a2ab653d9e55 (diff)
downloadexternal-libgbm-48aac8c6ef301be5ed4cf824779baa3c98981a90.tar.gz
external-libgbm-48aac8c6ef301be5ed4cf824779baa3c98981a90.tar.xz
external-libgbm-48aac8c6ef301be5ed4cf824779baa3c98981a90.zip
headers: sync drm_sarea.h with airlied/drm-next
Adds the C++ extern guards from ebbb0e5cfd2ceb1150b1 drm: add extern C guard for the UAPI headers Generated using `make headers_install` from airlied/drm-next at commit 2a1720376adda5ecf8e636fbfb05339c7dad1c55 Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_sarea.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm_sarea.h b/include/drm/drm_sarea.h
index 502934ed..93025be8 100644
--- a/include/drm/drm_sarea.h
+++ b/include/drm/drm_sarea.h
@@ -34,6 +34,10 @@
34 34
35#include "drm.h" 35#include "drm.h"
36 36
37#if defined(__cplusplus)
38extern "C" {
39#endif
40
37/* SAREA area needs to be at least a page */ 41/* SAREA area needs to be at least a page */
38#if defined(__alpha__) 42#if defined(__alpha__)
39#define SAREA_MAX 0x2000U 43#define SAREA_MAX 0x2000U
@@ -81,4 +85,8 @@ typedef struct drm_sarea_drawable drm_sarea_drawable_t;
81typedef struct drm_sarea_frame drm_sarea_frame_t; 85typedef struct drm_sarea_frame drm_sarea_frame_t;
82typedef struct drm_sarea drm_sarea_t; 86typedef struct drm_sarea drm_sarea_t;
83 87
88#if defined(__cplusplus)
89}
90#endif
91
84#endif /* _DRM_SAREA_H_ */ 92#endif /* _DRM_SAREA_H_ */