aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-16 21:18:31 +0100
committerMax Kellermann <max@duempel.org>2008-12-16 21:18:31 +0100
commit1d82edc6d36115ef4ecc251086a5b31c72333e5d (patch)
tree5fe8742e13da412612554705d052c218923466aa /src/ls.c
parent3287726736a0432d2316914767b397caab0fd11f (diff)
downloadmpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.tar.gz
mpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.tar.xz
mpd-1d82edc6d36115ef4ecc251086a5b31c72333e5d.zip
ls: make printRemoteUrlHandlers() return void
printRemoteUrlHandlers() cannot fail, and does not need a return value.
Diffstat (limited to '')
-rw-r--r--src/ls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ls.c b/src/ls.c
index fb67910f7..3de260d8b 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -32,7 +32,7 @@ static const char *remoteUrlPrefixes[] = {
NULL
};
-int printRemoteUrlHandlers(struct client *client)
+void printRemoteUrlHandlers(struct client *client)
{
const char **prefixes = remoteUrlPrefixes;
@@ -40,8 +40,6 @@ int printRemoteUrlHandlers(struct client *client)
client_printf(client, "handler: %s\n", *prefixes);
prefixes++;
}
-
- return 0;
}
int isRemoteUrl(const char *url)