aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-12-22 19:37:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-12-22 19:37:05 +0100
commit11775edbfc27d2ad1cd0dff3f7af385f67719866 (patch)
treefd0c34716d0c4f2fe204be19e077b1f2ba603518 /archival
parenta6588fa10230e7b87990482773a445701abbaae8 (diff)
downloadbusybox-11775edbfc27d2ad1cd0dff3f7af385f67719866.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/archival/tar.c b/archival/tar.c
index e116bd287..aa03ba990 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -745,11 +745,9 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag,
#endif
return errorFlag;
}
-#else
-int writeTarFile(int tar_fd, int verboseFlag,
- int recurseFlags, const llist_t *include,
- const llist_t *exclude, const char *gzip);
-#endif /* FEATURE_TAR_CREATE */
+#else /* !FEATURE_TAR_CREATE */
+# define writeTarFile(...) 0
+#endif
#if ENABLE_FEATURE_TAR_FROM
static llist_t *append_file_list_to_list(llist_t *list)