From 310895f0606ebe1f88e20755f221c51cc66a63df Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Mon, 25 Jul 2011 21:55:43 +0200 Subject: rename 'Timer' to 'struct timer' --- src/timer.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/timer.h') diff --git a/src/timer.h b/src/timer.h index 5ecfa0b8..18488124 100644 --- a/src/timer.h +++ b/src/timer.h @@ -24,28 +24,28 @@ struct audio_format; -typedef struct _Timer { +struct timer { uint64_t time; int started; int rate; -} Timer; +}; -Timer *timer_new(const struct audio_format *af); +struct timer *timer_new(const struct audio_format *af); -void timer_free(Timer *timer); +void timer_free(struct timer *timer); -void timer_start(Timer *timer); +void timer_start(struct timer *timer); -void timer_reset(Timer *timer); +void timer_reset(struct timer *timer); -void timer_add(Timer *timer, int size); +void timer_add(struct timer *timer, int size); /** * Returns the number of milliseconds to sleep to get back to sync. */ unsigned -timer_delay(const Timer *timer); +timer_delay(const struct timer *timer); -void timer_sync(Timer *timer); +void timer_sync(struct timer *timer); #endif -- cgit v1.2.3