mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 07:00:11 +01:00
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>
This commit is contained in:
parent
1b8db17779
commit
48aac8c6ef
1 changed files with 8 additions and 0 deletions
|
|
@ -34,6 +34,10 @@
|
||||||
|
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* SAREA area needs to be at least a page */
|
/* SAREA area needs to be at least a page */
|
||||||
#if defined(__alpha__)
|
#if defined(__alpha__)
|
||||||
#define SAREA_MAX 0x2000U
|
#define SAREA_MAX 0x2000U
|
||||||
|
|
@ -81,4 +85,8 @@ typedef struct drm_sarea_drawable drm_sarea_drawable_t;
|
||||||
typedef struct drm_sarea_frame drm_sarea_frame_t;
|
typedef struct drm_sarea_frame drm_sarea_frame_t;
|
||||||
typedef struct drm_sarea drm_sarea_t;
|
typedef struct drm_sarea drm_sarea_t;
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _DRM_SAREA_H_ */
|
#endif /* _DRM_SAREA_H_ */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue