diff options
author | Alex Bligh | 2013-08-21 17:03:03 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2013-08-22 19:14:24 +0200 |
commit | 7bf8fbde449600926370f744b2b3d9cc819ca74f (patch) | |
tree | 0b81cbe752cdabbdc4b00b4d458a4b89b5184ad7 /include/qemu | |
parent | aio / timers: Rearrange timer.h & make legacy functions call non-legacy (diff) | |
download | qemu-7bf8fbde449600926370f744b2b3d9cc819ca74f.tar.gz qemu-7bf8fbde449600926370f744b2b3d9cc819ca74f.tar.xz qemu-7bf8fbde449600926370f744b2b3d9cc819ca74f.zip |
aio / timers: Remove main_loop_timerlist
Now we have timerlistgroups implemented and main_loop_tlg, we
no longer need the concept of a default timer list associated
with each clock. Remove it and simplify initialisation of
clocks and timer lists.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/timer.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/qemu/timer.h b/include/qemu/timer.h index 35556e7bdf..705463af4a 100644 --- a/include/qemu/timer.h +++ b/include/qemu/timer.h @@ -65,7 +65,6 @@ struct QEMUTimer { }; extern QEMUTimerListGroup main_loop_tlg; -extern QEMUClock *qemu_clocks[QEMU_CLOCK_MAX]; /* * QEMUClock & QEMUClockType @@ -79,10 +78,7 @@ extern QEMUClock *qemu_clocks[QEMU_CLOCK_MAX]; * * Returns: a pointer to the QEMUClock object */ -static inline QEMUClock *qemu_clock_ptr(QEMUClockType type) -{ - return qemu_clocks[type]; -} +QEMUClock *qemu_clock_ptr(QEMUClockType type); /** * qemu_clock_get_ns; |