aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-09 21:24:12 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-09 21:24:12 +0000
commit1ac3737b2be159605be497acba46eb6ebc0de450 (patch)
treec9e6d3d695cbb2449132428a32fb6c309aad870f /tar.c
parent1f5b759db15ea574fdb31e86b8916835dbd43dbe (diff)
downloadbusybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.gz
busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.bz2
busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.zip
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tar.c b/tar.c
index a9363d5ad..38a8d9a04 100644
--- a/tar.c
+++ b/tar.c
@@ -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... */
153void child_died() 153static 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
189struct option longopts[] = { 189static 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
577int exclude_file(char **excluded_files, const char *file) 577static 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
604int extract_file(char **extract_files, const char *file) 604static int extract_file(char **extract_files, const char *file)
605{ 605{
606 int i; 606 int i;
607 607