mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block
This commit is contained in:
parent
087bc82bb0
commit
c265b17550
@ -315,6 +315,7 @@ writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name,
|
|||||||
return ( TRUE);
|
return ( TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# if defined CONFIG_FEATURE_TAR_EXCLUDE
|
||||||
static int exclude_file(char **excluded_files, const char *file)
|
static int exclude_file(char **excluded_files, const char *file)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -341,6 +342,7 @@ static int exclude_file(char **excluded_files, const char *file)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int writeFileToTarball(const char *fileName, struct stat *statbuf, void* userData)
|
static int writeFileToTarball(const char *fileName, struct stat *statbuf, void* userData)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user