ArchiveLookup: return const strings

This commit is contained in:
Max Kellermann
2013-10-17 00:35:58 +02:00
parent e132d10aec
commit 1b8a1d4140
4 changed files with 12 additions and 8 deletions

View File

@@ -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;