X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-static.h;h=dec8a204166d2f2c9848227a7629c53057164958;hp=97d94dc0b8817b5a87e83fafb3de9d3c6bd011b1;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu-static.h b/urcu-static.h index 97d94dc..dec8a20 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -41,6 +41,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 @@ -237,4 +241,8 @@ static inline void _rcu_read_unlock(void) } } +#ifdef __cplusplus +} +#endif + #endif /* _URCU_STATIC_H */