aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
commitf1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch)
tree91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/timer.c
parentbd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff)
downloadmpd-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 '')
-rw-r--r--src/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c
index 29c15eabc..0d8f07f5c 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -18,6 +18,7 @@
#include "timer.h"
#include "utils.h"
+#include "audio_format.h"
#include "os_compat.h"
static uint64_t now(void)
@@ -29,7 +30,7 @@ static uint64_t now(void)
return ((uint64_t)tv.tv_sec * 1000000) + tv.tv_usec;
}
-Timer *timer_new(AudioFormat *af)
+Timer *timer_new(struct audio_format *af)
{
Timer *timer;