From: Eric Andersen Date: Sat, 27 Oct 2001 03:20:00 +0000 (-0000) Subject: Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block X-Git-Tag: 0_60_2~80 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c265b17550dc90237c7dc03da7b58ceea8c74bbf;p=oweals%2Fbusybox.git Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block --- diff --git a/archival/tar.c b/archival/tar.c index 9459a5061..815949767 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -315,6 +315,7 @@ writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name, return ( TRUE); } +# if defined CONFIG_FEATURE_TAR_EXCLUDE static int exclude_file(char **excluded_files, const char *file) { int i; @@ -341,6 +342,7 @@ static int exclude_file(char **excluded_files, const char *file) return 0; } +#endif static int writeFileToTarball(const char *fileName, struct stat *statbuf, void* userData) {