From 6ee093c90761eabfc6255624000d3d8248802209 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 10 Sep 2009 03:04:26 +0200 Subject: Unexport ticks_per_sec variable. Create get_ticks_per_sec() function Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/adlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/adlib.c') diff --git a/hw/adlib.c b/hw/adlib.c index e1e40771a6..1d8092baca 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -165,7 +165,7 @@ static void timer_handler (int c, double interval_Sec) s->ticking[n] = 1; #ifdef DEBUG - interval = ticks_per_sec * interval_Sec; + interval = get_ticks_per_sec() * interval_Sec; exp = qemu_get_clock (vm_clock) + interval; s->exp[n] = exp; #endif -- cgit v1.2.1