diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 10:49:05 +0200 |
commit | 25f67da58c671885c86ecfd991f28ec82b6ce1e2 (patch) | |
tree | 7da9638ff323573d2aa53e70337866f8935114a0 /src/song.h | |
parent | 3c1142cbcbd428ac5784ef098ac5e7a393647aa6 (diff) | |
download | mpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.tar.gz mpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.tar.xz mpd-25f67da58c671885c86ecfd991f28ec82b6ce1e2.zip |
directory: converted typedef Directory to struct directory
The struct can be forward-declared by other headers, which relaxes the
header dependencies.
Diffstat (limited to '')
-rw-r--r-- | src/song.h | 6 |
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 *); |