aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:11 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:47 -0700
commit79e8abb461fa848cce3717333ee5cfa55ee91c71 (patch)
treef8c3cc49a2503ebedeedcdec71e2d2eb91e1db96 /src/playlist.h
parentc84c73df00e5e1710d84fdb4be6352d849da8f2b (diff)
downloadmpd-79e8abb461fa848cce3717333ee5cfa55ee91c71.tar.gz
mpd-79e8abb461fa848cce3717333ee5cfa55ee91c71.tar.xz
mpd-79e8abb461fa848cce3717333ee5cfa55ee91c71.zip
song: converted typedef Song to struct song
Again, a data type which can be forward-declared. [ew: * used "struct mpd_song" instead to avoid token duplication (like I did with "struct mpd_tag") as there's no good abbreviation for "song" and identical tokens on the same line don't read well * rewritten using perl -i -p -e 's/\bSong\b/struct mpd_song/g' src/*.[ch] since it was too hard to merge * also, I don't care much for forward declarations ]
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 2be2711e5..f4df8ce41 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -57,7 +57,7 @@ enum playlist_result addToPlaylist(const char *file, int *added_id);
int addToStoredPlaylist(const char *file, const char *utf8file);
-enum playlist_result addSongToPlaylist(Song * song, int *added_id);
+enum playlist_result addSongToPlaylist(struct mpd_song * song, int *added_id);
void showPlaylist(int fd);
@@ -93,7 +93,7 @@ enum playlist_result savePlaylist(const char *utf8file);
enum playlist_result deletePlaylist(const char *utf8file);
-void deleteASongFromPlaylist(const Song * song);
+void deleteASongFromPlaylist(const struct mpd_song * song);
enum playlist_result moveSongInPlaylist(int from, int to);