diff options
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -150,7 +150,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv, | |||
150 | 150 | ||
151 | #ifdef BB_FEATURE_TAR_GZIP | 151 | #ifdef BB_FEATURE_TAR_GZIP |
152 | /* Signal handler for when child gzip process dies... */ | 152 | /* Signal handler for when child gzip process dies... */ |
153 | void child_died() | 153 | static void child_died() |
154 | { | 154 | { |
155 | fflush(stdout); | 155 | fflush(stdout); |
156 | fflush(stderr); | 156 | fflush(stderr); |
@@ -186,7 +186,7 @@ extern int tar_unzip_init(int tarFd) | |||
186 | #endif | 186 | #endif |
187 | 187 | ||
188 | #if defined BB_FEATURE_TAR_EXCLUDE | 188 | #if defined BB_FEATURE_TAR_EXCLUDE |
189 | struct option longopts[] = { | 189 | static struct option longopts[] = { |
190 | { "exclude", 1, NULL, 'e' }, | 190 | { "exclude", 1, NULL, 'e' }, |
191 | { NULL, 0, NULL, 0 } | 191 | { NULL, 0, NULL, 0 } |
192 | }; | 192 | }; |
@@ -574,7 +574,7 @@ readTarHeader(struct TarHeader *rawHeader, struct TarInfo *header) | |||
574 | return( FALSE); | 574 | return( FALSE); |
575 | } | 575 | } |
576 | 576 | ||
577 | int exclude_file(char **excluded_files, const char *file) | 577 | static int exclude_file(char **excluded_files, const char *file) |
578 | { | 578 | { |
579 | int i; | 579 | int i; |
580 | 580 | ||
@@ -601,7 +601,7 @@ int exclude_file(char **excluded_files, const char *file) | |||
601 | return 0; | 601 | return 0; |
602 | } | 602 | } |
603 | 603 | ||
604 | int extract_file(char **extract_files, const char *file) | 604 | static int extract_file(char **extract_files, const char *file) |
605 | { | 605 | { |
606 | int i; | 606 | int i; |
607 | 607 | ||