remove defines around unarchive, its always used

This commit is contained in:
Glenn L McGrath 2001-06-22 02:27:55 +00:00
parent 7387240ef0
commit 9f832deecf

View File

@ -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 */ 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 *), char *unarchive(FILE *src_stream, void *(*get_headers)(FILE *),
const int extract_function, const char *prefix, char **extract_names) 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); return(buffer);
} }
#endif
#if defined BB_AR || defined BB_DPKG_DEB || defined BB_DPKG #if defined BB_AR || defined BB_DPKG_DEB || defined BB_DPKG
void *get_header_ar(FILE *src_stream) void *get_header_ar(FILE *src_stream)