X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-pointer.h;h=487abab4abd8c1d16a87b5486e714413639d6ca2;hp=b10aa13a4ad5c9689f7364476b263531e86e4278;hb=27d65bc5db18f8563a9120924569acffb845ec4d;hpb=2b5554c9169ea1ef93dffacb7671a00f9e7de511 diff --git a/urcu-pointer.h b/urcu-pointer.h index b10aa13..487abab 100644 --- a/urcu-pointer.h +++ b/urcu-pointer.h @@ -28,7 +28,11 @@ #include #include -#include +#include + +#ifdef __cplusplus +extern "C" { +#endif #ifdef _LGPL_SOURCE @@ -107,4 +111,8 @@ extern void *rcu_set_pointer_sym(void **p, void *v); */ #define rcu_assign_pointer(p, v) rcu_set_pointer((&p), (v)) +#ifdef __cplusplus +} +#endif + #endif /* _URCU_POINTER_H */