egl/wayland: do not wrap header inclusion in extern "C"
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:19 +0000 (16:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:50 +0000 (17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/wayland/wayland-egl/wayland-egl-priv.h

index 74a155202beb96a93a8746d6c527f28c7f7e18cf..f1e3ba283097064c849ae2d97f9501b607013d37 100644 (file)
@@ -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;