projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash: add c++ ifdef
[urcu.git]
/
urcu
/
rculfhash.h
diff --git
a/urcu/rculfhash.h
b/urcu/rculfhash.h
index 6bb1ccf619b381e59f0f8d5098b643e569626233..c88740097c885beb07acb2f3d5ce80e7df94745f 100644
(file)
--- a/
urcu/rculfhash.h
+++ b/
urcu/rculfhash.h
@@
-4,6
+4,10
@@
#include <stdint.h>
#include <urcu-call-rcu.h>
#include <stdint.h>
#include <urcu-call-rcu.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct rcu_ht_node {
/* cache-hot for iteration */
struct rcu_ht_node *next;
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);
void ht_resize(struct rcu_ht *ht, int growth);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_RCULFHASH_H */
#endif /* _URCU_RCULFHASH_H */
This page took
0.023327 seconds
and
4
git commands to generate.