mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
remove defines around unarchive, its always used
This commit is contained in:
parent
7387240ef0
commit
9f832deecf
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user