History

drm/exynos: add extern C guard for the UAPI header

Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: Inki Dae <inki.dae@samsung.com>

Emil Velikov committed 10 years ago

Commit 37a96be1 parent 60ef9101 file · +8 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/exynos_drm.h+8−0
@@ -17,6 +17,10 @@ · 16 unmodified lines
1717
1818 #include "drm.h"
1919
20+#if defined(__cplusplus)
21+extern "C" {
22+#endif
23+
2024 /**
2125 * User-desired buffer creation information structure.
2226 *
@@ -362,4 +366,8 @@ struct drm_exynos_ipp_event { · 339 unmodified lines
362366 __u32 buf_id[EXYNOS_DRM_OPS_MAX];
363367 };
364368
369+#if defined(__cplusplus)
370+}
371+#endif
372+
365373 #endif /* _UAPI_EXYNOS_DRM_H_ */