projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack: LGPL-ize
[urcu.git]
/
urcu
/
rculfstack.h
diff --git
a/urcu/rculfstack.h
b/urcu/rculfstack.h
index a9e624ce792ee2b59ecb648084df5cda73a60e46..8cf7d13b35cc09ffc79f6646dd9c0d2c75b3e9b5 100644
(file)
--- a/
urcu/rculfstack.h
+++ b/
urcu/rculfstack.h
@@
-23,6
+23,10
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE))
#error "Dynamic loader LGPL wrappers not implemented yet"
#endif
#if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE))
#error "Dynamic loader LGPL wrappers not implemented yet"
#endif
@@
-69,7
+73,7
@@
void rcu_lfs_push(struct rcu_lfs_stack *s, struct rcu_lfs_node *node)
/*
* The caller must wait for a grace period to pass before freeing the returned
/*
* The caller must wait for a grace period to pass before freeing the returned
- * node.
+ * node
or modifying the rcu_lfs_node structure
.
* Returns NULL if stack is empty.
*/
struct rcu_lfs_node *
* Returns NULL if stack is empty.
*/
struct rcu_lfs_node *
@@
-99,4
+103,8
@@
rcu_lfs_pop(struct rcu_lfs_stack *s)
}
}
}
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_RCULFSTACK_H */
#endif /* _URCU_RCULFSTACK_H */
This page took
0.032463 seconds
and
4
git commands to generate.