X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.h;h=c6c54e7c7c3bcbc83d88b279e20ab35f64a0806f;hp=69c06e409ddaf2bb95d96d27ae6d9369b777d40b;hb=eaf2c3f4b9041d2a6a85d7f9e56f6014603367d4;hpb=7e30abe3df0e83eeb741bfc18d07cb016af804a1 diff --git a/urcu.h b/urcu.h index 69c06e4..c6c54e7 100644 --- a/urcu.h +++ b/urcu.h @@ -6,7 +6,7 @@ * * Userspace RCU header * - * Copyright (c) 2009 Mathieu Desnoyers + * Copyright (c) 2009 Mathieu Desnoyers * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. * * LGPL-compatible code should include this header with : @@ -39,6 +39,10 @@ */ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Important ! * @@ -88,8 +92,12 @@ extern void rcu_register_thread(void); extern void rcu_unregister_thread(void); /* - * Explicit urcu initialization, for "early" use within library constructors. + * Explicit rcu initialization, for "early" use within library constructors. */ -extern void urcu_init(void); +extern void rcu_init(void); + +#ifdef __cplusplus +} +#endif #endif /* _URCU_H */