summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-25 19:56:52 +0200
committerwm4 <wm4@nowhere>2013-05-26 16:44:20 +0200
commitf44a242258c282eb1407899a64571c39d010285b (patch)
tree0582ab64904258650db3f8631ee8628b8745cf8e /osdep
parente56d8a200d900066c3da571d92733f66ce6a13ab (diff)
downloadmpv-f44a242258c282eb1407899a64571c39d010285b.tar.bz2
mpv-f44a242258c282eb1407899a64571c39d010285b.tar.xz
Replace calls to usec_sleep()
This is just dumb sed replacement to mp_sleep_us(). Also remove the now unused usec_sleep() wrapper.
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 */