aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-10 10:08:10 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-10 10:08:10 +0000
commit31d44ea77584e9118c367b8ab0569dc5d41f826a (patch)
tree2f2d57caa8de0bf557bd6416527eba5987fd8f06
parentff0bcaeb0a7613fd809cfa8c2111f6d09fa3e7b6 (diff)
downloadmpd-31d44ea77584e9118c367b8ab0569dc5d41f826a.tar.gz
mpd-31d44ea77584e9118c367b8ab0569dc5d41f826a.tar.xz
mpd-31d44ea77584e9118c367b8ab0569dc5d41f826a.zip
remove some no longer used functions
git-svn-id: https://svn.musicpd.org/mpd/trunk@242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/playlist.c11
-rw-r--r--src/playlist.h2
-rw-r--r--src/tables.c11
-rw-r--r--src/tables.h2
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();