[PATCH wayland 2/3] server: move include directives before extern "C" wrapper

Emil Velikov emil.l.velikov at gmail.com
Sun Apr 17 11:29:23 UTC 2016


Analogous to previous commit but for the server(-core) header.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/wayland-server-core.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index e8e1e9c..fa7f394 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -26,15 +26,15 @@
 #ifndef WAYLAND_SERVER_CORE_H
 #define WAYLAND_SERVER_CORE_H
 
-#ifdef  __cplusplus
-extern "C" {
-#endif
-
 #include <sys/types.h>
 #include <stdint.h>
 #include "wayland-util.h"
 #include "wayland-version.h"
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 enum {
 	WL_EVENT_READABLE = 0x01,
 	WL_EVENT_WRITABLE = 0x02,
-- 
2.8.0



More information about the wayland-devel mailing list