diff options
author | Alex Bligh <alex@alex.org.uk> | 2013-08-21 16:02:39 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-22 15:58:05 +0200 |
commit | e93379b039030c68d85693a4bee2b76f814108d2 (patch) | |
tree | 6c017b5105f09bb60c8319499a49c660647aaf0b /include | |
parent | 04d542c8b826a1196ca4f03f5a35d83035976bd1 (diff) |
aio / timers: Rename qemu_timer_* functions
Rename four functions in preparation for new API.
Rename qemu_timer_expired to timer_expired
Rename qemu_timer_expire_time_ns to timer_expire_time_ns
Rename qemu_timer_pending to timer_pending
Rename qemu_timer_expired_ns to timer_expired_ns
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qemu/timer.h b/include/qemu/timer.h index 9dd206ce7f..a9afdb3873 100644 --- a/include/qemu/timer.h +++ b/include/qemu/timer.h @@ -49,9 +49,9 @@ void qemu_free_timer(QEMUTimer *ts); void qemu_del_timer(QEMUTimer *ts); void qemu_mod_timer_ns(QEMUTimer *ts, int64_t expire_time); void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time); -bool qemu_timer_pending(QEMUTimer *ts); -bool qemu_timer_expired(QEMUTimer *timer_head, int64_t current_time); -uint64_t qemu_timer_expire_time_ns(QEMUTimer *ts); +bool timer_pending(QEMUTimer *ts); +bool timer_expired(QEMUTimer *timer_head, int64_t current_time); +uint64_t timer_expire_time_ns(QEMUTimer *ts); void qemu_run_timers(QEMUClock *clock); void qemu_run_all_timers(void); |