aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-29 13:17:37 +0200
committerMax Kellermann <max@duempel.org>2008-09-29 13:17:37 +0200
commit9819890f1dfe1bcb128f9857efd26f37b1a601ee (patch)
treedcfbcdb59291e01c9205b3b5a9463e49c1f63d09 /src/playlist.c
parent554f4a9fb96f9670bf1099cbe0a578c22d6d0458 (diff)
downloadmpd-9819890f1dfe1bcb128f9857efd26f37b1a601ee.tar.gz
mpd-9819890f1dfe1bcb128f9857efd26f37b1a601ee.tar.xz
mpd-9819890f1dfe1bcb128f9857efd26f37b1a601ee.zip
playlist: deleteASongFromPlaylist takes a const Song *
We don't change the song pointer there, either.
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 296b2689b..233e434b7 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -775,7 +775,7 @@ enum playlist_result deleteFromPlaylistById(int id)
return deleteFromPlaylist(song);
}
-void deleteASongFromPlaylist(Song * song)
+void deleteASongFromPlaylist(const Song * song)
{
int i;