aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c6
-rw-r--r--archival/tar.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 0e4fd8efc..4e53652e4 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -79,9 +79,9 @@ static const char *statuswords[][10] = {
79 "post-inst-failed", "removal-failed", 0 } 79 "post-inst-failed", "removal-failed", 0 }
80}; 80};
81 81
82const int color_white = 0; 82static const int color_white = 0;
83const int color_grey = 1; 83static const int color_grey = 1;
84const int color_black = 2; 84static const int color_black = 2;
85 85
86/* data structures */ 86/* data structures */
87typedef struct package_s { 87typedef struct package_s {
diff --git a/archival/tar.c b/archival/tar.c
index a9363d5ad..38a8d9a04 100644
--- a/archival/tar.c
+++ b/archival/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