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 cf35d41..e9c730d 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) bb_error_msg_and_die("short read"); } if (i != 512) { - if (ENABLE_FEATURE_TAR_AUTODETECT) - goto autodetect; + USE_FEATURE_TAR_AUTODETECT(goto autodetect;) goto short_read; } diff --git a/include/unarchive.h b/include/unarchive.h index 5b71d3e..17a46b6 100644 --- a/include/unarchive.h +++ b/include/unarchive.h @@ -132,7 +132,7 @@ extern void open_transformer(int fd, USE_DESKTOP(long long) int FAST_FUNC (*transformer)(int src_fd, int dst_fd)) FAST_FUNC; #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transformer) #else -extern int open_transformer(int src_fd, const char *transform_prog) FAST_FUNC; +extern void open_transformer(int src_fd, const char *transform_prog) FAST_FUNC; #define open_transformer(fd, transformer, transform_prog) open_transformer(fd, transform_prog) #endif |