Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block

This commit is contained in:
Eric Andersen 2001-10-27 03:20:00 +00:00
parent 087bc82bb0
commit c265b17550

View File

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