fix compile failures resulting from last few commits
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 11 Jul 2008 08:23:52 +0000 (08:23 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 11 Jul 2008 08:23:52 +0000 (08:23 -0000)
archival/libunarchive/get_header_tar.c
include/unarchive.h

index cf35d41a0c757e78ef2186c3af935db4fb767d08..e9c730d65ef3280516e71b1b3a335e34ebe599d2 100644 (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;
        }
 
index 5b71d3e62fa067f4c1341735a7061d5b97fdf55a..17a46b6d70fd76008b5c1df9d4cb3922bfec3302 100644 (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