From eaf7857b7f7ae6b05ce9d129157e0ff33ed2081b Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 28 Apr 2008 12:09:31 +0300 Subject: timers: Remove GetRelativeTime() Move the code calculating time delta since last query out of the platform-specific drivers and into mplayer.c. The platform-specific drivers now return absolute values only. The way the code in timer-darwin.c uses doubles in wrapping arithmetic looks questionable and this change might make problems in it more visible. --- osdep/timer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'osdep/timer.h') diff --git a/osdep/timer.h b/osdep/timer.h index 44e26cdafc..b0f289c00a 100644 --- a/osdep/timer.h +++ b/osdep/timer.h @@ -7,7 +7,6 @@ void InitTimer(void); unsigned int GetTimer(void); unsigned int GetTimerMS(void); //int uGetTimer(); -float GetRelativeTime(void); int usec_sleep(int usec_delay); -- cgit v1.2.3