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

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


Analogous to last two commits.

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

diff --git a/src/wayland-util.h b/src/wayland-util.h
index 35b50ea..cc1999d 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -31,15 +31,15 @@
 #ifndef WAYLAND_UTIL_H
 #define WAYLAND_UTIL_H
 
-#ifdef  __cplusplus
-extern "C" {
-#endif
-
 #include <math.h>
 #include <stddef.h>
 #include <inttypes.h>
 #include <stdarg.h>
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 /* GCC visibility */
 #if defined(__GNUC__) && __GNUC__ >= 4
 #define WL_EXPORT __attribute__ ((visibility("default")))
-- 
2.8.0



More information about the wayland-devel mailing list