X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Frculfstack.h;h=f80c7fea012a6e6240bf2ee04ee54f557966a4ff;hp=a9e624ce792ee2b59ecb648084df5cda73a60e46;hb=0e2e9380d93d73c246abdeef52c7a97b01deecca;hpb=ad918eeb98d1ac8b12015050ee60b488e850ac0d diff --git a/urcu/rculfstack.h b/urcu/rculfstack.h index a9e624c..f80c7fe 100644 --- a/urcu/rculfstack.h +++ b/urcu/rculfstack.h @@ -23,6 +23,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef __cplusplus +extern "C" { +#endif + #if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE)) #error "Dynamic loader LGPL wrappers not implemented yet" #endif @@ -99,4 +103,8 @@ rcu_lfs_pop(struct rcu_lfs_stack *s) } } +#ifdef __cplusplus +} +#endif + #endif /* _URCU_RCULFSTACK_H */