summaryrefslogtreecommitdiff
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:05 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:05 +0200
commit25f67da58c671885c86ecfd991f28ec82b6ce1e2 (patch)
tree7da9638ff323573d2aa53e70337866f8935114a0 /src/song.h
parent3c1142cbcbd428ac5784ef098ac5e7a393647aa6 (diff)
directory: converted typedef Directory to struct directory
The struct can be forward-declared by other headers, which relaxes the header dependencies.
Diffstat (limited to 'src/song.h')
-rw-r--r--src/song.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/song.h b/src/song.h
index cb8ba188f..fc50e70c1 100644
--- a/src/song.h
+++ b/src/song.h
@@ -32,15 +32,15 @@ struct client;
typedef struct _Song {
struct tag *tag;
- struct _Directory *parentDir;
+ struct directory *parentDir;
time_t mtime;
char url[sizeof(size_t)];
} Song;
Song *
-song_alloc(const char *url, struct _Directory *parent);
+song_alloc(const char *url, struct directory *parent);
-Song *newSong(const char *url, struct _Directory *parentDir);
+Song *newSong(const char *url, struct directory *parentDir);
void freeJustSong(Song *);