timer: add "static" to a variable

This commit is contained in:
wm4 2015-05-01 21:17:56 +02:00
parent d3a3cfe54c
commit 6814830b9a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
#include "timer.h" #include "timer.h"
static uint64_t raw_time_offset; 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) static void do_timer_init(void)
{ {