cleanup: all functions have declarations (-Wmissing-prototypes)
[urcu.git] / tests / benchmark / test_perthreadlock_timing.c
index c9cc65f70736dc441fc7a13b19d9b064ac8ce227..88c3edc0350f1fb2fab045092e110c07a9ddc796 100644 (file)
@@ -67,9 +67,10 @@ static int num_write;
 static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *reader_time;
 static caa_cycles_t __attribute__((aligned(CAA_CACHE_LINE_SIZE))) *writer_time;
 
+static
 void *thr_reader(void *arg)
 {
-       int i, j;
+       unsigned int i, j;
        caa_cycles_t time1, time2;
        long tidx = (long)arg;
 
@@ -96,9 +97,10 @@ void *thr_reader(void *arg)
 
 }
 
+static
 void *thr_writer(void *arg)
 {
-       int i, j;
+       unsigned int i, j;
        long tidx;
        caa_cycles_t time1, time2;
 
This page took 0.022988 seconds and 4 git commands to generate.