diff options
author | Max Kellermann <max@duempel.org> | 2011-09-13 21:24:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-13 22:09:37 +0200 |
commit | a236a439cc84035a70c3f43fd926d39b9d8caaf7 (patch) | |
tree | 846667477e41ad2b53897b90c61c1f9d3363b428 /src/song_print.c | |
parent | c779e2674abbc3eed08e49296c188a9f9ed5270e (diff) | |
download | mpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.tar.gz mpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.tar.xz mpd-a236a439cc84035a70c3f43fd926d39b9d8caaf7.zip |
db_print: move code to function db_selection_print()
Use it in handle_lsinfo(), and eliminate some duplicate code.
Diffstat (limited to '')
-rw-r--r-- | src/song_print.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/song_print.c b/src/song_print.c index e0a04ddbd..2065b336d 100644 --- a/src/song_print.c +++ b/src/song_print.c @@ -94,18 +94,3 @@ song_print_info(struct client *client, struct song *song) if (song->tag) tag_print(client, song->tag); } - -static int -song_print_info_x(struct song *song, void *data) -{ - struct client *client = data; - song_print_info(client, song); - - return 0; -} - -void -songvec_print(struct client *client, const struct songvec *sv) -{ - songvec_for_each(sv, song_print_info_x, client); -} |