summaryrefslogtreecommitdiffstats
path: root/osdep/timer.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-22 04:17:03 +0200
committerDudemanguy <random342@airmail.cc>2023-11-05 17:36:17 +0000
commit71e888c2a0f0c816fe87d9b197878fb189adceed (patch)
tree16ce0eb16c315e81fcade268fbf4dc6976b18996 /osdep/timer.h
parent751790c2b3171f614576a990f44bf28b7efe4580 (diff)
downloadmpv-71e888c2a0f0c816fe87d9b197878fb189adceed.tar.bz2
mpv-71e888c2a0f0c816fe87d9b197878fb189adceed.tar.xz
timer: remove unused code
Diffstat (limited to 'osdep/timer.h')
-rw-r--r--osdep/timer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/osdep/timer.h b/osdep/timer.h
index ba7e22d6c5..3a925caec3 100644
--- a/osdep/timer.h
+++ b/osdep/timer.h
@@ -60,11 +60,4 @@ void mp_end_hires_timers(int resolution_ms);
// Takes care of possible overflows. Never returns a negative or 0 time.
int64_t mp_time_ns_add(int64_t time_ns, double timeout_sec);
-// Convert the mp time in nanoseconds to a timespec using CLOCK_REALTIME.
-struct timespec mp_time_ns_to_realtime(int64_t time_ns);
-
-// Convert the relative timeout in seconds to a timespec.
-// The timespec is absolute, using CLOCK_REALTIME.
-struct timespec mp_rel_time_to_timespec(double timeout_sec);
-
#endif /* MPLAYER_TIMER_H */