summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 21:53:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 21:53:06 +0000
commit38648cae06d53dd4ddbed5fe3410398760e5c462 (patch)
tree0b4fb964b12e438cc4e9f960729a4462d8cb593d /osdep
parent42beaf6883932af7e42f4d629522ead4284e5cae (diff)
downloadmpv-38648cae06d53dd4ddbed5fe3410398760e5c462.tar.bz2
mpv-38648cae06d53dd4ddbed5fe3410398760e5c462.tar.xz
Mark sleep_accurate() as static, it is only used within the file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30715 b3059339-0415-0410-9bf9-f77b7e298cf2
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();