X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr-static.h;h=72d35957e802c42733ed415d871a9c4aa54a74ac;hp=e49a04186104bbc2b3b769665a1fb6cb59fe7911;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 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 */