summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Bligh <alex@alex.org.uk>2013-08-21 16:03:00 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-22 19:10:55 +0200
commit63111b69cce420886ba7bfb8e367bd6c6969c1b6 (patch)
tree5845136395fe66e1ae1bb544991e0d0d6702fe7b /include
parent6d327171551a12b937c5718073b9848d0274c74d (diff)
downloadqemu-63111b69cce420886ba7bfb8e367bd6c6969c1b6.tar.gz
qemu-63111b69cce420886ba7bfb8e367bd6c6969c1b6.tar.bz2
qemu-63111b69cce420886ba7bfb8e367bd6c6969c1b6.zip
aio / timers: Remove legacy qemu_clock_deadline & qemu_timerlist_deadline
Remove qemu_clock_deadline and qemu_timerlist_deadline now we are using the ns functions throughout. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/timer.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/qemu/timer.h b/include/qemu/timer.h
index d0fb7b60f6..21f481034d 100644
--- a/include/qemu/timer.h
+++ b/include/qemu/timer.h
@@ -140,7 +140,6 @@ bool qemu_clock_has_timers(QEMUClock *clock);
* an expired timer
*/
bool qemu_clock_expired(QEMUClock *clock);
-int64_t qemu_clock_deadline(QEMUClock *clock);
/**
* qemu_clock_deadline_ns:
@@ -246,21 +245,6 @@ bool timerlist_has_timers(QEMUTimerList *timer_list);
bool timerlist_expired(QEMUTimerList *timer_list);
/**
- * timerlist_deadline:
- * @timer_list: the timer list to operate on
- *
- * Determine the deadline for a timer_list. This is
- * a legacy function which returns INT32_MAX if the
- * timer list has no timers or if the earliest timer
- * expires later than INT32_MAX nanoseconds away.
- *
- * Returns: the number of nanoseconds until the earliest
- * timer expires or INT32_MAX in the situations listed
- * above
- */
-int64_t timerlist_deadline(QEMUTimerList *timer_list);
-
-/**
* timerlist_deadline_ns:
* @timer_list: the timer list to operate on
*