summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-24 16:29:19 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:16:50 +0000
commitd426c17550493da7b0ee285a3016891563ed688f (patch)
treeffbe7bf188f8642550853be7dcfd2ebad2ec371d /src/egl
parent750da80b34fa712cbc45047184f8b84d2f50b81b (diff)
egl/wayland: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl-priv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl-priv.h b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
index 74a155202be..f1e3ba28309 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl-priv.h
+++ b/src/egl/wayland/wayland-egl/wayland-egl-priv.h
@@ -1,10 +1,6 @@
#ifndef _WAYLAND_EGL_PRIV_H
#define _WAYLAND_EGL_PRIV_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* GCC visibility */
#if defined(__GNUC__)
#define WL_EGL_EXPORT __attribute__ ((visibility("default")))
@@ -14,6 +10,10 @@ extern "C" {
#include <wayland-client.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct wl_egl_window {
struct wl_surface *surface;