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