summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/timer.c6
-rw-r--r--osdep/timer.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/osdep/timer.c b/osdep/timer.c
index c1efeff8b5..d8dd49b9f7 100644
--- a/osdep/timer.c
+++ b/osdep/timer.c
@@ -42,12 +42,6 @@ double mp_time_sec(void)
return mp_time_us() / (double)(1000 * 1000);
}
-int usec_sleep(int usec_delay)
-{
- mp_sleep_us(usec_delay);
- return 0;
-}
-
#if 0
#include <stdio.h>
diff --git a/osdep/timer.h b/osdep/timer.h
index bdddf3d61a..8d5b553f2e 100644
--- a/osdep/timer.h
+++ b/osdep/timer.h
@@ -38,7 +38,4 @@ uint64_t mp_raw_time_us(void);
// Sleep in microseconds.
void mp_sleep_us(int64_t us);
-// Legacy timer functions. These can wrap.
-int usec_sleep(int usec_delay);
-
#endif /* MPLAYER_TIMER_H */