diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:55 +0200 |
commit | f1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch) | |
tree | 91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/timer.h | |
parent | bd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff) | |
download | mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.gz mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.xz mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.zip |
audio_format: converted typedef AudioFormat to struct audio_format
Get rid of CamelCase, and don't use a typedef, so we can
forward-declare it, and unclutter the include dependencies.
Diffstat (limited to 'src/timer.h')
-rw-r--r-- | src/timer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timer.h b/src/timer.h index 6851a1535..80bef952d 100644 --- a/src/timer.h +++ b/src/timer.h @@ -19,16 +19,17 @@ #ifndef MPD_TIMER_H #define MPD_TIMER_H -#include "audio_format.h" #include "os_compat.h" +struct audio_format; + typedef struct _Timer { uint64_t time; int started; int rate; } Timer; -Timer *timer_new(AudioFormat *af); +Timer *timer_new(struct audio_format *af); void timer_free(Timer *timer); |