rculfqueue: LGPL-ize
[urcu.git] / urcu / rculfstack.h
index a9e624ce792ee2b59ecb648084df5cda73a60e46..8cf7d13b35cc09ffc79f6646dd9c0d2c75b3e9b5 100644 (file)
  * 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
@@ -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
- * node.
+ * node or modifying the rcu_lfs_node structure.
  * 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 */
This page took 0.02285 seconds and 4 git commands to generate.