X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Frculfhash.h;h=c88740097c885beb07acb2f3d5ce80e7df94745f;hp=6bb1ccf619b381e59f0f8d5098b643e569626233;hb=848d408839fe4f829db477644c776eba166a0e9a;hpb=18117871130163ec2b2fc73fda288b9ba26cd435 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 */