summaryrefslogtreecommitdiffstats
path: root/osdep/timer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 21:17:56 +0200
committerwm4 <wm4@nowhere>2015-05-01 21:51:10 +0200
commit6814830b9a7740e789a6965f6e4f8da4ba67dd42 (patch)
tree91ad9abe9c97f712171f001d67bdd6d5e376e842 /osdep/timer.c
parentd3a3cfe54c26055c0686ea1b9a245eb7f88af521 (diff)
downloadmpv-6814830b9a7740e789a6965f6e4f8da4ba67dd42.tar.bz2
mpv-6814830b9a7740e789a6965f6e4f8da4ba67dd42.tar.xz
timer: add "static" to a variable
Diffstat (limited to 'osdep/timer.c')
-rw-r--r--osdep/timer.c2
1 files changed, 1 insertions, 1 deletions
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)
{