From: Mathieu Desnoyers Date: Thu, 7 Jul 2011 16:27:19 +0000 (-0400) Subject: rculfhash: add c++ ifdef X-Git-Tag: v0.7.0~43^2~208 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=0138979113aa3451ec73808b8cbc2750003fbcab rculfhash: add c++ ifdef Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/rculfhash.h b/urcu/rculfhash.h index 6bb1ccf..c887400 100644 --- a/urcu/rculfhash.h +++ b/urcu/rculfhash.h @@ -4,6 +4,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct rcu_ht_node { /* cache-hot for iteration */ struct rcu_ht_node *next; @@ -71,4 +75,8 @@ int ht_remove(struct rcu_ht *ht, struct rcu_ht_node *node); void ht_resize(struct rcu_ht *ht, int growth); +#ifdef __cplusplus +} +#endif + #endif /* _URCU_RCULFHASH_H */