remove some no longer used functions

git-svn-id: https://svn.musicpd.org/mpd/trunk@242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-03-10 10:08:10 +00:00
parent ff0bcaeb0a
commit 31d44ea775
4 changed files with 0 additions and 26 deletions

View File

@ -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) { int stopPlaylist(FILE * fp) {
DEBUG("playlist: stop\n"); DEBUG("playlist: stop\n");
if(playerStop(fp)<0) return -1; if(playerStop(fp)<0) return -1;

View File

@ -67,8 +67,6 @@ int deletePlaylist(FILE * fp, char * utf8file);
void deleteASongFromPlaylist(Song * song); void deleteASongFromPlaylist(Song * song);
void deleteSongsFromPlaylist(SongList * songList);
int moveSongInPlaylist(FILE * fp, int from, int to); int moveSongInPlaylist(FILE * fp, int from, int to);
int swapSongsInPlaylist(FILE * fp, int song1, int song2); int swapSongsInPlaylist(FILE * fp, int song1, int song2);

View File

@ -129,17 +129,6 @@ void removeASongFromTables(Song * song) {
removeSongFromArtistTable(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() { unsigned long numberOfSongs() {
return 0; return 0;
} }

View File

@ -28,8 +28,6 @@ void closeTables();
void addSongToTables(Song * song); void addSongToTables(Song * song);
void removeSongsFromTables(SongList * songList);
void removeASongFromTables(Song * song); void removeASongFromTables(Song * song);
unsigned long numberOfSongs(); unsigned long numberOfSongs();