rculfstack: header implementation should be defined as static inline
[urcu.git] / urcu / static / rculfstack.h
index 99d3d4ccc92f8cd22011d099417986e274e08d73..3f48b7eabbc33c10a626400fb28dc6d4545c4776 100644 (file)
 extern "C" {
 #endif
 
+static inline
 void _cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node)
 {
 }
 
+static inline
 void _cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s)
 {
        s->head = NULL;
 }
 
+static inline
 void _cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node)
 {
        struct cds_lfs_node_rcu *head = NULL;
@@ -67,6 +70,7 @@ void _cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *nod
  * node or modifying the cds_lfs_node_rcu structure.
  * Returns NULL if stack is empty.
  */
+static inline
 struct cds_lfs_node_rcu *
 _cds_lfs_pop_rcu(struct cds_lfs_stack_rcu *s)
 {
This page took 0.022692 seconds and 4 git commands to generate.