cleanup: all functions have declarations (-Wmissing-prototypes)
[urcu.git] / tests / benchmark / test_rwlock_timing.c
index bc51c45c3573a6b9611673048a2cefacaacce629..a7d035ea5c92ddcca2046939db56ce36bce688ee 100644 (file)
@@ -67,9 +67,11 @@ 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, ret;
+       unsigned int i, j;
+       int ret;
        caa_cycles_t time1, time2;
 
        printf("thread_begin %s, tid %lu\n",
@@ -105,9 +107,11 @@ void *thr_reader(void *arg)
 
 }
 
+static
 void *thr_writer(void *arg)
 {
-       int i, j, ret;
+       unsigned int i, j;
+       int ret;
        caa_cycles_t time1, time2;
 
        printf("thread_begin %s, tid %lu\n",
This page took 0.024125 seconds and 4 git commands to generate.