aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-04-11 16:49:07 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-04-11 16:49:07 +0000
commit2975a34f239c417d3439c58f51f83dc43b7c82d1 (patch)
tree426561e47fa01d7ecdfd625fd9c340fb6f75ae2f
parentb3f23d4c6a34b190d3fe0b73ed3c25e4af611749 (diff)
downloadbusybox-2975a34f239c417d3439c58f51f83dc43b7c82d1.tar.gz
readTarFile changed from exter nto static
-rw-r--r--archival/tar.c4
-rw-r--r--tar.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 15d050c5a..7cfad72b5 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -133,7 +133,7 @@ struct TarInfo
typedef struct TarInfo TarInfo;
/* Local procedures to restore files from a tar file. */
-extern int readTarFile(int tarFd, int extractFlag, int listFlag,
+static int readTarFile(int tarFd, int extractFlag, int listFlag,
int tostdoutFlag, int verboseFlag, char** extractList,
char** excludeList);
@@ -571,7 +571,7 @@ static int extract_file(char **extract_files, const char *file)
* Read a tar file and extract or list the specified files within it.
* If the list is empty than all files are extracted or listed.
*/
-extern int readTarFile(int tarFd, int extractFlag, int listFlag,
+static int readTarFile(int tarFd, int extractFlag, int listFlag,
int tostdoutFlag, int verboseFlag, char** extractList,
char** excludeList)
{
diff --git a/tar.c b/tar.c
index 15d050c5a..7cfad72b5 100644
--- a/tar.c
+++ b/tar.c
@@ -133,7 +133,7 @@ struct TarInfo
typedef struct TarInfo TarInfo;
/* Local procedures to restore files from a tar file. */
-extern int readTarFile(int tarFd, int extractFlag, int listFlag,
+static int readTarFile(int tarFd, int extractFlag, int listFlag,
int tostdoutFlag, int verboseFlag, char** extractList,
char** excludeList);
@@ -571,7 +571,7 @@ static int extract_file(char **extract_files, const char *file)
* Read a tar file and extract or list the specified files within it.
* If the list is empty than all files are extracted or listed.
*/
-extern int readTarFile(int tarFd, int extractFlag, int listFlag,
+static int readTarFile(int tarFd, int extractFlag, int listFlag,
int tostdoutFlag, int verboseFlag, char** extractList,
char** excludeList)
{