diff options
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 3 | ||||
-rw-r--r-- | include/unarchive.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index cf35d41a0..e9c730d65 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c | |||
@@ -108,8 +108,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle) | |||
108 | bb_error_msg_and_die("short read"); | 108 | bb_error_msg_and_die("short read"); |
109 | } | 109 | } |
110 | if (i != 512) { | 110 | if (i != 512) { |
111 | if (ENABLE_FEATURE_TAR_AUTODETECT) | 111 | USE_FEATURE_TAR_AUTODETECT(goto autodetect;) |
112 | goto autodetect; | ||
113 | goto short_read; | 112 | goto short_read; |
114 | } | 113 | } |
115 | 114 | ||
diff --git a/include/unarchive.h b/include/unarchive.h index 5b71d3e62..17a46b6d7 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -132,7 +132,7 @@ extern void open_transformer(int fd, | |||
132 | USE_DESKTOP(long long) int FAST_FUNC (*transformer)(int src_fd, int dst_fd)) FAST_FUNC; | 132 | USE_DESKTOP(long long) int FAST_FUNC (*transformer)(int src_fd, int dst_fd)) FAST_FUNC; |
133 | #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transformer) | 133 | #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transformer) |
134 | #else | 134 | #else |
135 | extern int open_transformer(int src_fd, const char *transform_prog) FAST_FUNC; | 135 | extern void open_transformer(int src_fd, const char *transform_prog) FAST_FUNC; |
136 | #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transform_prog) | 136 | #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transform_prog) |
137 | #endif | 137 | #endif |
138 | 138 | ||