diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-17 12:29:24 +0100 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-04-19 11:46:49 +0300 |
commit | 2c8da324844b7ac95b39077efa1af762a22bf619 (patch) | |
tree | 81056124a0d250f182cbfcef2edfa6702b6aff66 | |
parent | 897509bc6af0530cb06fa04e05bf6b6c13df8d48 (diff) | |
download | wayland-2c8da324844b7ac95b39077efa1af762a22bf619.tar.gz |
utils: move include directives before extern "C" wrapper
Analogous to last two commits.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
-rw-r--r-- | src/wayland-util.h | 8 |
1 files 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"))) |