1.1 --- a/ucx/ucx.h Thu Sep 05 13:55:04 2013 +0200 1.2 +++ b/ucx/ucx.h Fri Sep 06 13:20:20 2013 +0200 1.3 @@ -63,9 +63,11 @@ 1.4 #define _Bool bool 1.5 #define restrict 1.6 #endif 1.7 +/** Use C naming even when compiling with C++. */ 1.8 #define UCX_EXTERN extern "C" 1.9 extern "C" { 1.10 #else 1.11 +/** Pointless in C. */ 1.12 #define UCX_EXTERN 1.13 #endif 1.14