X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu-qsbr-static.h;h=72d35957e802c42733ed415d871a9c4aa54a74ac;hb=94b7b9d25402e563a44651e65a29c88d41255bca;hp=e49a04186104bbc2b3b769665a1fb6cb59fe7911;hpb=0854ccff976f2893a7f04aaa4b48090f423802a5;p=urcu.git diff --git a/urcu-qsbr-static.h b/urcu-qsbr-static.h index e49a041..72d3595 100644 --- a/urcu-qsbr-static.h +++ b/urcu-qsbr-static.h @@ -43,6 +43,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * This code section can only be included in LGPL 2.1 compatible source code. * See below for the function call wrappers which can be used in code meant to @@ -210,4 +214,8 @@ static inline void _rcu_thread_online(void) smp_mb(); } +#ifdef __cplusplus +} +#endif + #endif /* _URCU_QSBR_STATIC_H */