]> Devoid-pointer.net GitWeb - libHPCS.git/commitdiff
Move includes inside the explicitly declared C code scope
authorMichal Malý <madcatxster@devoid-pointer.net>
Sun, 29 Mar 2015 13:22:27 +0000 (15:22 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sun, 29 Mar 2015 13:22:27 +0000 (15:22 +0200)
libhpcs.c

index 3f9eef515729eb98cc7ce4a5ffdd83a41d2fc407..55a2f6625dbb25b17f603e8633d02132655a0a8c 100644 (file)
--- a/libhpcs.c
+++ b/libhpcs.c
@@ -1,3 +1,7 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "include/libhpcs.h"
 #include "libhpcs_p.h"
 
 #include <unicode/ustdio.h>
 #endif
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <stdlib.h>
 #include <string.h>