1.1 --- a/src/ucx/utils.h Thu Jun 21 16:00:37 2018 +0200 1.2 +++ b/src/ucx/utils.h Thu Jun 21 16:10:19 2018 +0200 1.3 @@ -38,10 +38,6 @@ 1.4 #ifndef UCX_UTILS_H 1.5 #define UCX_UTILS_H 1.6 1.7 -#ifdef __cplusplus 1.8 -extern "C" { 1.9 -#endif 1.10 - 1.11 #include "ucx.h" 1.12 #include "string.h" 1.13 #include "allocator.h" 1.14 @@ -49,6 +45,10 @@ 1.15 #include <string.h> 1.16 #include <stdarg.h> 1.17 1.18 +#ifdef __cplusplus 1.19 +extern "C" { 1.20 +#endif 1.21 + 1.22 /** 1.23 * Default buffer size for ucx_stream_copy() and ucx_stream_ncopy(). 1.24 */