diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 00:35:58 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 00:36:52 +0200 |
commit | 1b8a1d4140c58030bc71665eef4dc3485812817e (patch) | |
tree | f463333b71117b2c64d3845e70c3a123d6607b80 /src/ArchiveLookup.cxx | |
parent | e132d10aec524962c5b5cbe135930aaabccba810 (diff) | |
download | mpd-1b8a1d4140c58030bc71665eef4dc3485812817e.tar.gz mpd-1b8a1d4140c58030bc71665eef4dc3485812817e.tar.xz mpd-1b8a1d4140c58030bc71665eef4dc3485812817e.zip |
ArchiveLookup: return const strings
Diffstat (limited to '')
-rw-r--r-- | src/ArchiveLookup.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ArchiveLookup.cxx b/src/ArchiveLookup.cxx index 8cd87f5ec..7cea655fd 100644 --- a/src/ArchiveLookup.cxx +++ b/src/ArchiveLookup.cxx @@ -29,7 +29,9 @@ #include <unistd.h> #include <errno.h> -bool archive_lookup(char *pathname, char **archive, char **inpath, char **suffix) +bool +archive_lookup(char *pathname, const char **archive, + const char **inpath, const char **suffix) { char *pathdupe; int len, idx; |