# HG changeset patch # User diego # Date 1266875586 0 # Node ID cfb6e0b4e2bd5980132de68759c8b43691986f31 # Parent 4400019c6ae20faeb4e254a6eacba4119a548221 Mark sleep_accurate() as static, it is only used within the file. diff -r 4400019c6ae2 -r cfb6e0b4e2bd osdep/timer-darwin.c --- a/osdep/timer-darwin.c Mon Feb 22 19:17:25 2010 +0000 +++ b/osdep/timer-darwin.c Mon Feb 22 21:53:06 2010 +0000 @@ -35,7 +35,7 @@ /* 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();