diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2011-07-25 21:55:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-27 11:30:34 +0200 |
commit | 310895f0606ebe1f88e20755f221c51cc66a63df (patch) | |
tree | 1e3c4727d39cc9dc889780511b7d7d365038ea63 /src/timer.h | |
parent | 4428894abaa4d40c443cabbf6c1eb467d6f55791 (diff) | |
download | mpd-310895f0606ebe1f88e20755f221c51cc66a63df.tar.gz mpd-310895f0606ebe1f88e20755f221c51cc66a63df.tar.xz mpd-310895f0606ebe1f88e20755f221c51cc66a63df.zip |
rename 'Timer' to 'struct timer'
Diffstat (limited to 'src/timer.h')
-rw-r--r-- | src/timer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/timer.h b/src/timer.h index 5ecfa0b8b..184881249 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 |