From 0a00e74867c25f82f3c49b1ee933a87cfde555bc Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 29 Nov 2014 21:11:22 +0000 Subject: Omit functions not required if seamless compression is disabled --- archival/libarchive/open_transformer.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/archival/libarchive/open_transformer.c b/archival/libarchive/open_transformer.c index e49eab409..7e0d1dd02 100644 --- a/archival/libarchive/open_transformer.c +++ b/archival/libarchive/open_transformer.c @@ -27,7 +27,9 @@ int FAST_FUNC check_signature16(transformer_aux_data_t *aux, int src_fd, unsigne return 0; } -#if !ENABLE_PLATFORM_MINGW32 + +#if SEAMLESS_COMPRESSION + void check_errors_in_children(int signo) { int status; @@ -58,7 +60,6 @@ void check_errors_in_children(int signo) bb_got_signal = 1; } } -#endif /* transformer(), more than meets the eye */ #if BB_MMU @@ -114,9 +115,6 @@ void FAST_FUNC open_transformer(int fd, const char *transform_prog) xmove_fd(fd_pipe.rd, fd); } - -#if SEAMLESS_COMPRESSION - /* Used by e.g. rpm which gives us a fd without filename, * thus we can't guess the format from filename's extension. */ -- cgit v1.2.3-55-g6feb