projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add extern "C" to support linking userspace RCU library with C++ applications
[userspace-rcu.git]
/
urcu.h
diff --git
a/urcu.h
b/urcu.h
index 69c06e409ddaf2bb95d96d27ae6d9369b777d40b..da0b295ba9d72ec21c4ea1f3291f22ad669665b2 100644
(file)
--- a/
urcu.h
+++ b/
urcu.h
@@
-39,6
+39,10
@@
*/
#include <urcu-pointer.h>
*/
#include <urcu-pointer.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Important !
*
/*
* Important !
*
@@
-92,4
+96,8
@@
extern void rcu_unregister_thread(void);
*/
extern void urcu_init(void);
*/
extern void urcu_init(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_H */
#endif /* _URCU_H */
This page took
0.024088 seconds
and
4
git commands to generate.