X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-pointer-static.h;h=093630a084f84ba7c5917a5621ee3fe1de3af258;hp=eb073afa18683c5a6d1a626397aef70a21678d2c;hb=36bc70a84250927ba68d5096a0a9740aec157f9b;hpb=53b8ed6836363dc7c5a5356e01609bdaac4868e2 diff --git a/urcu-pointer-static.h b/urcu-pointer-static.h index eb073af..093630a 100644 --- a/urcu-pointer-static.h +++ b/urcu-pointer-static.h @@ -34,6 +34,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** * _rcu_dereference - reads (copy) a RCU-protected pointer to a local variable * into a RCU read-side critical section. The pointer can later be safely @@ -121,4 +125,8 @@ #define _rcu_assign_pointer(p, v) _rcu_set_pointer(&(p), v) +#ifdef __cplusplus +} +#endif + #endif /* _URCU_POINTER_STATIC_H */