From d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:11 +0200 Subject: song: converted typedef Song to struct song Again, a data type which can be forward-declared. --- src/storedPlaylist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/storedPlaylist.h') diff --git a/src/storedPlaylist.h b/src/storedPlaylist.h index 964669d35..575ca84f4 100644 --- a/src/storedPlaylist.h +++ b/src/storedPlaylist.h @@ -19,10 +19,11 @@ #ifndef STORED_PLAYLIST_H #define STORED_PLAYLIST_H -#include "song.h" #include "list.h" #include "playlist.h" +struct song; + List *loadStoredPlaylist(const char *utf8path); enum playlist_result @@ -35,7 +36,7 @@ enum playlist_result removeOneSongFromStoredPlaylistByPath(const char *utf8path, int pos); enum playlist_result -appendSongToStoredPlaylistByPath(const char *utf8path, Song *song); +appendSongToStoredPlaylistByPath(const char *utf8path, struct song *song); enum playlist_result renameStoredPlaylist(const char *utf8from, const char *utf8to); -- cgit v1.2.3