aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:01:53 +0200
committerMax Kellermann <max@duempel.org>2008-08-29 09:01:53 +0200
commit12bcba8b89ad503cbdfb8261c5c26b9f87860345 (patch)
tree640d2f57cd4f9e5059db9b0c533b7919d4ddb52f /src/ls.h
parentd8a8fa63b40801f597cc374bcfcbdd397aa0a670 (diff)
downloadmpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.gz
mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.tar.xz
mpd-12bcba8b89ad503cbdfb8261c5c26b9f87860345.zip
pass constant pointers
And again, convert arguments to const.
Diffstat (limited to 'src/ls.h')
-rw-r--r--src/ls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.h b/src/ls.h
index bb8b113f3..af414e88a 100644
--- a/src/ls.h
+++ b/src/ls.h
@@ -25,9 +25,9 @@ int lsPlaylists(int fd, const char *utf8path);
const char *getSuffix(const char *utf8file);
-int isValidRemoteUtf8Url(char *utf8url);
+int isValidRemoteUtf8Url(const char *utf8url);
-int isRemoteUrl(char *url);
+int isRemoteUrl(const char *url);
int myStat(const char *utf8file, struct stat *st);