song: converted typedef Song to struct song

Again, a data type which can be forward-declared.
This commit is contained in:
Max Kellermann
2008-10-08 10:49:11 +02:00
parent 25f67da58c
commit d562ba5fbb
26 changed files with 196 additions and 118 deletions

View File

@@ -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;