aboutsummaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorTobias Jakobi2017-04-05 09:22:24 -0500
committerEmil Velikov2017-04-08 15:33:30 -0500
commit47521438eb5c3f01c0bbae79c85ddbe8a5435a98 (patch)
treef458e1adeb7753c64b51cb516964e2e568a6150a /exynos
parentc9c77c37175be1a8f30e34d30f32a9f3f3df0dce (diff)
downloadexternal-libgbm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.tar.gz
external-libgbm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.tar.xz
external-libgbm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.zip
exynos: add C++ support to exynos_drmif header
Add the usual extern "C" when compiling in C++ mode. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'exynos')
-rw-r--r--exynos/exynos_drmif.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/exynos/exynos_drmif.h b/exynos/exynos_drmif.h
index 626e3998..154439bb 100644
--- a/exynos/exynos_drmif.h
+++ b/exynos/exynos_drmif.h
@@ -31,6 +31,10 @@
31#include <stdint.h> 31#include <stdint.h>
32#include "exynos_drm.h" 32#include "exynos_drm.h"
33 33
34#if defined(__cplusplus)
35extern "C" {
36#endif
37
34struct exynos_device { 38struct exynos_device {
35 int fd; 39 int fd;
36}; 40};
@@ -109,4 +113,8 @@ int exynos_handle_event(struct exynos_device *dev,
109 struct exynos_event_context *ctx); 113 struct exynos_event_context *ctx);
110 114
111 115
116#if defined(__cplusplus)
117}
118#endif
119
112#endif /* EXYNOS_DRMIF_H_ */ 120#endif /* EXYNOS_DRMIF_H_ */