diff options
Diffstat (limited to 'src/directory_print.c')
-rw-r--r-- | src/directory_print.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/directory_print.c b/src/directory_print.c index 6d951d1bc..5bc32e6f8 100644 --- a/src/directory_print.c +++ b/src/directory_print.c @@ -23,7 +23,7 @@ #include "client.h" #include "song_print.h" -static int +static void dirvec_print(struct client *client, const struct dirvec *dv) { size_t i; @@ -31,15 +31,11 @@ dirvec_print(struct client *client, const struct dirvec *dv) for (i = 0; i < dv->nr; ++i) client_printf(client, DIRECTORY_DIR "%s\n", directory_get_path(dv->base[i])); - - return 0; } -int +void directory_print(struct client *client, const struct directory *directory) { dirvec_print(client, &directory->children); songvec_print(client, &directory->songs); - - return 0; } |