summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/timer-darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c
index c292852c27..1833694015 100644
--- a/osdep/timer-darwin.c
+++ b/osdep/timer-darwin.c
@@ -35,7 +35,7 @@ const char *timer_name = "Darwin accurate";
/* the core sleep function, uses floats and is used in MPlayer G2 */
-float sleep_accurate(float time_frame)
+static float sleep_accurate(float time_frame)
{
uint64_t deadline = time_frame / timebase_ratio + mach_absolute_time();