X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-defer.h;h=b7fe8bfda53b921844c2abde703a446a5c662407;hp=00f18ff47af3177c205006139fbc00850d12b446;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu-defer.h b/urcu-defer.h index 00f18ff..b7fe8bf 100644 --- a/urcu-defer.h +++ b/urcu-defer.h @@ -32,6 +32,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Note: the defer_rcu() API is currently EXPERIMENTAL. It may change in the * future. @@ -64,4 +68,8 @@ extern void rcu_defer_unregister_thread(void); extern void rcu_defer_barrier(void); extern void rcu_defer_barrier_thread(void); +#ifdef __cplusplus +} +#endif + #endif /* _URCU_BATCH_H */