diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/dpkg.c | 6 | ||||
-rw-r--r-- | archival/tar.c | 8 |
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 | ||
82 | const int color_white = 0; | 82 | static const int color_white = 0; |
83 | const int color_grey = 1; | 83 | static const int color_grey = 1; |
84 | const int color_black = 2; | 84 | static const int color_black = 2; |
85 | 85 | ||
86 | /* data structures */ | 86 | /* data structures */ |
87 | typedef struct package_s { | 87 | typedef 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... */ |
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 | ||