From: Michal MalĂ˝ Date: Sun, 29 Mar 2015 13:22:27 +0000 (+0200) Subject: Move includes inside the explicitly declared C code scope X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=00b700028295d4d8414af693eba1c53f63e69fb8;p=libHPCS.git Move includes inside the explicitly declared C code scope --- diff --git a/libhpcs.c b/libhpcs.c index 3f9eef5..55a2f66 100644 --- a/libhpcs.c +++ b/libhpcs.c @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #include "include/libhpcs.h" #include "libhpcs_p.h" @@ -16,10 +20,6 @@ #include #endif -#ifdef __cplusplus -extern "C" { -#endif - #include #include