aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:11 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:11 +0200
commitd562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f (patch)
tree1e82f7b4854c5d15c4ab59c48120da02e4b41be9 /src/stats.c
parent25f67da58c671885c86ecfd991f28ec82b6ce1e2 (diff)
downloadmpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.tar.gz
mpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.tar.xz
mpd-d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f.zip
song: converted typedef Song to struct song
Again, a data type which can be forward-declared.
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index ee0854e16..17126cbdb 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -21,6 +21,7 @@
#include "directory.h"
#include "tag.h"
+#include "song.h"
#include "client.h"
#include "player_control.h"
#include "strset.h"
@@ -39,7 +40,8 @@ struct visit_data {
struct strset *set;
};
-static int visit_tag_items(Song *song, void *_data)
+static int
+visit_tag_items(struct song *song, void *_data)
{
const struct visit_data *data = _data;
unsigned i;