diff options
-rw-r--r-- | src/playlist.c | 11 | ||||
-rw-r--r-- | src/playlist.h | 2 | ||||
-rw-r--r-- | src/tables.c | 11 | ||||
-rw-r--r-- | src/tables.h | 2 |
4 files changed, 0 insertions, 26 deletions
diff --git a/src/playlist.c b/src/playlist.c index 0455673d7..aa9647ec7 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -633,17 +633,6 @@ void deleteASongFromPlaylist(Song * song) { } } -void deleteSongsFromPlaylist(SongList * songList) { - ListNode * node = songList->firstNode; - Song * song; - - while(node) { - song = (Song *)node->data; - deleteASongFromPlaylist(song); - node = node->nextNode; - } -} - int stopPlaylist(FILE * fp) { DEBUG("playlist: stop\n"); if(playerStop(fp)<0) return -1; diff --git a/src/playlist.h b/src/playlist.h index 8fdca8aed..00d0f9e3c 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -67,8 +67,6 @@ int deletePlaylist(FILE * fp, char * utf8file); void deleteASongFromPlaylist(Song * song); -void deleteSongsFromPlaylist(SongList * songList); - int moveSongInPlaylist(FILE * fp, int from, int to); int swapSongsInPlaylist(FILE * fp, int song1, int song2); diff --git a/src/tables.c b/src/tables.c index ef922e1c2..748cd53a4 100644 --- a/src/tables.c +++ b/src/tables.c @@ -129,17 +129,6 @@ void removeASongFromTables(Song * song) { removeSongFromArtistTable(song); } -void removeSongsFromTables(SongList * songList) { - ListNode * node = songList->firstNode; - Song * song; - - while(node) { - song = (Song *)node->data; - removeASongFromTables(song); - node = node->nextNode; - } -} - unsigned long numberOfSongs() { return 0; } diff --git a/src/tables.h b/src/tables.h index fe99cc988..aaf05a3e9 100644 --- a/src/tables.h +++ b/src/tables.h @@ -28,8 +28,6 @@ void closeTables(); void addSongToTables(Song * song); -void removeSongsFromTables(SongList * songList); - void removeASongFromTables(Song * song); unsigned long numberOfSongs(); |