aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-12-23 21:54:14 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-14 10:38:57 +0100
commitf186aa976bab11130af7299b07f7fafd258a63f1 (patch)
tree514d36f3872f7eaab3600d7a6f94e0e48eec1fed /qemu-timer.c
parent488eef2f1d16c97cf7f9ebf644ecafa1ea1e9acc (diff)
qemu-timer: rename timer_init to timer_init_tl
timer_init is not called that often. Free the name for an equivalent of timer_new. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index cb7d988b56..98d9d1bc0b 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -331,9 +331,9 @@ int qemu_poll_ns(GPollFD *fds, guint nfds, int64_t timeout)
}
-void timer_init(QEMUTimer *ts,
- QEMUTimerList *timer_list, int scale,
- QEMUTimerCB *cb, void *opaque)
+void timer_init_tl(QEMUTimer *ts,
+ QEMUTimerList *timer_list, int scale,
+ QEMUTimerCB *cb, void *opaque)
{
ts->timer_list = timer_list;
ts->cb = cb;