summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 21:17:56 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:43:12 +0900
commit2ca19ba1b550335c7c3a52f567803b6a19dff1d4 (patch)
tree7ab1d19ddf00801a85fa97c028fab74ea1990c5d
parentd0216842d33039ed01d8cd6429f903dd36e8ded8 (diff)
downloadmpv-2ca19ba1b550335c7c3a52f567803b6a19dff1d4.tar.bz2
mpv-2ca19ba1b550335c7c3a52f567803b6a19dff1d4.tar.xz
timer: add "static" to a variable
(cherry picked from commit 6814830b9a7740e789a6965f6e4f8da4ba67dd42)
-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)
{