aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
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.h
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.h')
-rw-r--r--src/playlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h
index f6a8e77ba..8d964aabd 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -101,7 +101,7 @@ enum playlist_result savePlaylist(const char *utf8file);
enum playlist_result deletePlaylist(const char *utf8file);
-void deleteASongFromPlaylist(Song * song);
+void deleteASongFromPlaylist(const Song * song);
enum playlist_result moveSongInPlaylist(int from, int to);