timer: add "static" to a variable

(cherry picked from commit 6814830b9a)
This commit is contained in:
wm4 2015-05-01 21:17:56 +02:00 committed by Diogo Franco (Kovensky)
parent d0216842d3
commit 2ca19ba1b5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{