Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 12:23:52 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-11 12:23:52 +0400
commit86090e25990cfa176e2ae54c57f2c754950cbfa1 (patch)
tree71c3df7dcb3d626fcf6d4e40c4675908a95df471
parent3e8fd18037030df36d686e4d16c6d548a79f60c3 (diff)
fix compile failures resulting from last few commits
-rw-r--r--archival/libunarchive/get_header_tar.c3
-rw-r--r--include/unarchive.h2
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)
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 5b71d3e62..17a46b6d7 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