diff options
author | Ron Yorston <rmy@pobox.com> | 2014-11-29 21:11:22 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-11-29 21:11:22 +0000 |
commit | 0a00e74867c25f82f3c49b1ee933a87cfde555bc (patch) | |
tree | 555b917c10fdac80b151050c4ce12a037e929ae7 | |
parent | d85147d303301b63dfe34bcd9c74b4421871633a (diff) | |
download | busybox-w32-0a00e74867c25f82f3c49b1ee933a87cfde555bc.tar.gz busybox-w32-0a00e74867c25f82f3c49b1ee933a87cfde555bc.tar.bz2 busybox-w32-0a00e74867c25f82f3c49b1ee933a87cfde555bc.zip |
Omit functions not required if seamless compression is disabled
-rw-r--r-- | archival/libarchive/open_transformer.c | 8 |
1 files 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 | |||
27 | return 0; | 27 | return 0; |
28 | } | 28 | } |
29 | 29 | ||
30 | #if !ENABLE_PLATFORM_MINGW32 | 30 | |
31 | #if SEAMLESS_COMPRESSION | ||
32 | |||
31 | void check_errors_in_children(int signo) | 33 | void check_errors_in_children(int signo) |
32 | { | 34 | { |
33 | int status; | 35 | int status; |
@@ -58,7 +60,6 @@ void check_errors_in_children(int signo) | |||
58 | bb_got_signal = 1; | 60 | bb_got_signal = 1; |
59 | } | 61 | } |
60 | } | 62 | } |
61 | #endif | ||
62 | 63 | ||
63 | /* transformer(), more than meets the eye */ | 64 | /* transformer(), more than meets the eye */ |
64 | #if BB_MMU | 65 | #if BB_MMU |
@@ -114,9 +115,6 @@ void FAST_FUNC open_transformer(int fd, const char *transform_prog) | |||
114 | xmove_fd(fd_pipe.rd, fd); | 115 | xmove_fd(fd_pipe.rd, fd); |
115 | } | 116 | } |
116 | 117 | ||
117 | |||
118 | #if SEAMLESS_COMPRESSION | ||
119 | |||
120 | /* Used by e.g. rpm which gives us a fd without filename, | 118 | /* Used by e.g. rpm which gives us a fd without filename, |
121 | * thus we can't guess the format from filename's extension. | 119 | * thus we can't guess the format from filename's extension. |
122 | */ | 120 | */ |