summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/savage_drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-05-17 08:34:43 +0200
committerDave Airlie <airlied@redhat.com>2016-05-17 08:34:43 +0200
commit7c10ddf87472c07eabc206e273dc59f77c700858 (patch)
tree064fd935cadff9edfdcf71312b0bf851631c47a3 /include/uapi/drm/savage_drm.h
parentMerge tag 'topic/drm-misc-2016-05-13' of git://anongit.freedesktop.org/drm-in... (diff)
parentdrm/vmwgfx: add extern C guard for the UAPI header (diff)
downloadlinux-7c10ddf87472c07eabc206e273dc59f77c700858.tar.xz
linux-7c10ddf87472c07eabc206e273dc59f77c700858.zip
Merge branch 'drm-uapi-extern-c-fixes' of https://github.com/evelikov/linux into drm-next
Not the biggest fan of doing it this way, but what the hell. * 'drm-uapi-extern-c-fixes' of https://github.com/evelikov/linux: (22 commits) drm/vmwgfx: add extern C guard for the UAPI header drm/virgl: add extern C guard for the UAPI header drm/via: add extern C guard for the UAPI header drm/vc4: add extern C guard for the UAPI header drm/tegra: add extern C guard for the UAPI header drm/sis: add extern C guard for the UAPI header drm/savage: add extern C guard for the UAPI header drm/radeon: add extern C guard for the UAPI header drm/r128: add extern C guard for the UAPI header drm/qxl: add extern C guard for the UAPI header drm/omap: add extern C guard for the UAPI header drm/nouveau: drop drm/ prefix from include drm/nouveau: add extern C guard for the UAPI header drm/msm: add extern C guard for the UAPI header drm/mga: add extern C guard for the UAPI header drm/i915: add extern C guard for the UAPI header drm/i810: add extern C guard for the UAPI header drm/exynos: add extern C guard for the UAPI header drm/etnaviv: add extern C guard for the UAPI header drm: add extern C guard for the UAPI headers ...
Diffstat (limited to 'include/uapi/drm/savage_drm.h')
-rw-r--r--include/uapi/drm/savage_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/savage_drm.h b/include/uapi/drm/savage_drm.h
index 574147489c60..0f6eddef74aa 100644
--- a/include/uapi/drm/savage_drm.h
+++ b/include/uapi/drm/savage_drm.h
@@ -28,6 +28,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#ifndef __SAVAGE_SAREA_DEFINES__
#define __SAVAGE_SAREA_DEFINES__
@@ -209,4 +213,8 @@ union drm_savage_cmd_header {
} clear1; /* SAVAGE_CMD_CLEAR data */
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif