X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.h;h=8e6f1e463a7907075e1c76d4a6df370533e0b268;hp=21c2a2e0c9bf299804c4d6a40aa31a13e41d5186;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu-qsbr.h b/urcu-qsbr.h index 21c2a2e..8e6f1e4 100644 --- a/urcu-qsbr.h +++ b/urcu-qsbr.h @@ -36,6 +36,10 @@ */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Important ! * @@ -114,4 +118,8 @@ extern void synchronize_rcu(void); extern void rcu_register_thread(void); extern void rcu_unregister_thread(void); +#ifdef __cplusplus +} +#endif + #endif /* _URCU_QSBR_H */