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
/
urcu-futex.h
diff --git
a/urcu/urcu-futex.h
b/urcu/urcu-futex.h
index 14fb5c0b58e5444dc584d6668e3e233d3de7fe89..95598ad14ccafccebc0615f1ddc6803bf328a34c 100644
(file)
--- a/
urcu/urcu-futex.h
+++ b/
urcu/urcu-futex.h
@@
-23,6
+23,10
@@
#include <urcu/config.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define FUTEX_WAIT 0
#define FUTEX_WAKE 1
@@
-55,4
+59,8
@@
extern int compat_futex_async(int *uaddr, int op, int val,
compat_futex_async(uaddr, op, val, timeout, uaddr2, val3)
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_FUTEX_H */
This page took
0.023725 seconds
and
4
git commands to generate.