diff --git a/osdep/timer.c b/osdep/timer.c index 7c57e1ef1c..643d7cbb9b 100644 --- a/osdep/timer.c +++ b/osdep/timer.c @@ -28,7 +28,7 @@ #include "timer.h" static uint64_t raw_time_offset; -pthread_once_t timer_init_once = PTHREAD_ONCE_INIT; +static pthread_once_t timer_init_once = PTHREAD_ONCE_INIT; static void do_timer_init(void) {