Commit 9819890f authored by Eric Wong's avatar Eric Wong Committed by Max Kellermann

playlist: deleteASongFromPlaylist takes a const Song *

We don't change the song pointer there, either.
parent 554f4a9f
......@@ -775,7 +775,7 @@ enum playlist_result deleteFromPlaylistById(int id)
return deleteFromPlaylist(song);
}
void deleteASongFromPlaylist(Song * song)
void deleteASongFromPlaylist(const Song * song)
{
int i;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment