fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git] / tests / benchmark / bench.c
index 166dc910b426c24fda47af5f1c49a7649eeb6904..d42d0b65a1237d3c22e8ee445dd3b57ca56b27b7 100644 (file)
@@ -37,6 +37,7 @@ static unsigned long duration;
 
 static volatile int test_go, test_stop;
 
+static
 void do_stuff(void)
 {
        int i;
@@ -51,6 +52,8 @@ void do_stuff(void)
 #endif
 }
 
+
+static
 void *function(void *arg)
 {
        unsigned long long nr_loops = 0;
@@ -69,6 +72,7 @@ void *function(void *arg)
        return NULL;
 }
 
+static
 void usage(char **argv) {
        printf("Usage: %s nr_threads duration(s) <OPTIONS>\n", argv[0]);
        printf("OPTIONS:\n");
This page took 0.023957 seconds and 4 git commands to generate.