From 25f67da58c671885c86ecfd991f28ec82b6ce1e2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:05 +0200 Subject: directory: converted typedef Directory to struct directory The struct can be forward-declared by other headers, which relaxes the header dependencies. --- src/song.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index cb8ba188..fc50e70c 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 *); -- cgit v1.2.3