summaryrefslogtreecommitdiffstats
path: root/isys/uncpio.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-13 22:56:39 +0000
committerMatt Wilson <msw@redhat.com>2000-07-13 22:56:39 +0000
commit16891dc09d013acb5c8a64b86ac2413b90e8602f (patch)
tree2d5b66907e3d2dfc12a98bfb9a2f96c0dec82db5 /isys/uncpio.c
parent8e88062b600151e17b75dad978393e7a58a58684 (diff)
downloadanaconda-16891dc09d013acb5c8a64b86ac2413b90e8602f.tar.gz
anaconda-16891dc09d013acb5c8a64b86ac2413b90e8602f.tar.xz
anaconda-16891dc09d013acb5c8a64b86ac2413b90e8602f.zip
argh -- more cpio pollution
Diffstat (limited to 'isys/uncpio.c')
-rw-r--r--isys/uncpio.c4
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) {