From 6814830b9a7740e789a6965f6e4f8da4ba67dd42 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 May 2015 21:17:56 +0200 Subject: [PATCH] timer: add "static" to a variable --- osdep/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {