diff options
-rw-r--r-- | isys/uncpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/uncpio.c b/isys/uncpio.c index 27ff4a5d0..65dd2ebdd 100644 --- a/isys/uncpio.c +++ b/isys/uncpio.c @@ -187,7 +187,7 @@ static int getNextHeader(struct ourfd * fd, struct cpioHeader * chPtr, return 0; } -int cpioFileMapCmp(const void * a, const void * b) { +static int myCpioFileMapCmp(const void * a, const void * b) { const struct cpioFileMapping * first = a; const struct cpioFileMapping * second = b; @@ -496,7 +496,7 @@ int myCpioInstallArchive(gzFile stream, struct cpioFileMapping * mappings, if (mappings) { needle.archivePath = ch.path; map = bsearch(&needle, mappings, numMappings, sizeof(needle), - cpioFileMapCmp); + myCpioFileMapCmp); } if (mappings && !map) { |