diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-20 11:19:50 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-20 11:19:50 +0000 |
commit | 3e98eb2de0d533e401ad07ed5b0e13cd973a5af3 (patch) | |
tree | 41614a1c6950bdf2496d65b5f620d9cafbd6d46b /apps/playlist.c | |
parent | 2521bf5d2675ddd8c07637d021198134a7e12445 (diff) | |
download | rockbox-3e98eb2de0d533e401ad07ed5b0e13cd973a5af3.tar.gz rockbox-3e98eb2de0d533e401ad07ed5b0e13cd973a5af3.zip |
Renamed remove_all_tracks to playlist_remove_all_tracks to make it consistent with the naming of the other functions in playlist.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17186 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 5f2062faeb..416f981347 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -661,7 +661,7 @@ static int create_and_play_dir(int direction, bool play_last) * Removes all tracks, from the playlist, leaving the presently playing * track queued. */ -int remove_all_tracks(struct playlist_info *playlist) +int playlist_remove_all_tracks(struct playlist_info *playlist) { int result; @@ -775,7 +775,7 @@ static int add_track_to_playlist(struct playlist_info* playlist, break; } case PLAYLIST_REPLACE: - if (remove_all_tracks(playlist) < 0) + if (playlist_remove_all_tracks(playlist) < 0) return -1; position = insert_position = playlist->index + 1; @@ -2905,7 +2905,7 @@ int playlist_insert_directory(struct playlist_info* playlist, if (position == PLAYLIST_REPLACE) { - if (remove_all_tracks(playlist) == 0) + if (playlist_remove_all_tracks(playlist) == 0) position = PLAYLIST_INSERT_LAST; else return -1; @@ -2995,7 +2995,7 @@ int playlist_insert_playlist(struct playlist_info* playlist, char *filename, if (position == PLAYLIST_REPLACE) { - if (remove_all_tracks(playlist) == 0) + if (playlist_remove_all_tracks(playlist) == 0) position = PLAYLIST_INSERT_LAST; else return -1; } |