fix compile failures resulting from last few commits

This commit is contained in:
Denis Vlasenko 2008-07-11 08:23:52 +00:00
parent 3e8fd18037
commit 86090e2599
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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