mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
42beaf6883
commit
38648cae06
|
@ -35,7 +35,7 @@ const char *timer_name = "Darwin accurate";
|
||||||
|
|
||||||
|
|
||||||
/* the core sleep function, uses floats and is used in MPlayer G2 */
|
/* 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();
|
uint64_t deadline = time_frame / timebase_ratio + mach_absolute_time();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue