Commit 47521438 authored by Tobias Jakobi's avatar Tobias Jakobi Committed by Emil Velikov
Browse files

exynos: add C++ support to exynos_drmif header



Add the usual extern "C" when compiling in C++ mode.
Signed-off-by: Tobias Jakobi's avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent c9c77c37
......@@ -31,6 +31,10 @@
#include <stdint.h>
#include "exynos_drm.h"
#if defined(__cplusplus)
extern "C" {
#endif
struct exynos_device {
int fd;
};
......@@ -109,4 +113,8 @@ int exynos_handle_event(struct exynos_device *dev,
struct exynos_event_context *ctx);
#if defined(__cplusplus)
}
#endif
#endif /* EXYNOS_DRMIF_H_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment