cleanup: all functions have declarations (-Wmissing-prototypes)
[urcu.git] / tests / benchmark / test_urcu_lfs_rcu.c
index 69da6b4fb829a08d8b0da339c9ef41d475c91f4a..a26460a420721f55265bd969b8efbe11da0043cc 100644 (file)
@@ -138,6 +138,7 @@ struct test {
 
 static struct cds_lfs_stack_rcu s;
 
+static
 void *thr_enqueuer(void *_count)
 {
        unsigned long long *count = _count;
@@ -192,6 +193,7 @@ void free_node_cb(struct rcu_head *head)
        free(node);
 }
 
+static
 void *thr_dequeuer(void *_count)
 {
        unsigned long long *count = _count;
@@ -240,6 +242,7 @@ void *thr_dequeuer(void *_count)
        return ((void*)2);
 }
 
+static
 void test_end(struct cds_lfs_stack_rcu *s, unsigned long long *nr_dequeues)
 {
        struct cds_lfs_node_rcu *snode;
@@ -256,6 +259,7 @@ void test_end(struct cds_lfs_stack_rcu *s, unsigned long long *nr_dequeues)
        } while (snode);
 }
 
+static
 void show_usage(int argc, char **argv)
 {
        printf("Usage : %s nr_dequeuers nr_enqueuers duration (s) <OPTIONS>\n",
This page took 0.022862 seconds and 4 git commands to generate.