summaryrefslogtreecommitdiff
path: root/libbb/unarchive.c
diff options
context:
space:
mode:
authorGlenn L McGrath2001-06-22 02:27:55 +0000
committerGlenn L McGrath2001-06-22 02:27:55 +0000
commit9f832deecf028ca55dcf1e20996892cce8ab87d0 (patch)
tree8a13304f4192e1785eb38f4a0e9852a63bd0a38c /libbb/unarchive.c
parent7387240ef082e66b99dbf0bd3418c1964d8b405a (diff)
downloadbusybox-9f832deecf028ca55dcf1e20996892cce8ab87d0.zip
busybox-9f832deecf028ca55dcf1e20996892cce8ab87d0.tar.gz
remove defines around unarchive, its always used
Diffstat (limited to 'libbb/unarchive.c')
-rw-r--r--libbb/unarchive.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index f396bd7..e4150bd 100644
--- a/libbb/unarchive.c
+++ b/libbb/unarchive.c
@@ -193,7 +193,6 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
return(NULL); /* Maybe we should say if failed */
}
-#if defined BB_AR || defined BB_CPIO || defined BB_UNTAR
char *unarchive(FILE *src_stream, void *(*get_headers)(FILE *),
const int extract_function, const char *prefix, char **extract_names)
{
@@ -224,7 +223,6 @@ char *unarchive(FILE *src_stream, void *(*get_headers)(FILE *),
}
return(buffer);
}
-#endif
#if defined BB_AR || defined BB_DPKG_DEB || defined BB_DPKG
void *get_header_ar(FILE *src_stream)