summary refs log tree commit diff stats
path: root/include/qemu/timer.h
diff options
context:
space:
mode:
authorAlex Bligh <alex@alex.org.uk>2013-08-21 16:03:03 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-22 19:14:24 +0200
commit7bf8fbde449600926370f744b2b3d9cc819ca74f (patch)
tree0b81cbe752cdabbdc4b00b4d458a4b89b5184ad7 /include/qemu/timer.h
parent40daca54cd94678273c81dca8c0adefa297da5ea (diff)
downloadfocaccia-qemu-7bf8fbde449600926370f744b2b3d9cc819ca74f.tar.gz
focaccia-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/timer.h')
-rw-r--r--include/qemu/timer.h6
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;