summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorGlenn L McGrath2001-01-02 23:41:50 +0000
committerGlenn L McGrath2001-01-02 23:41:50 +0000
commit7541e3a812b0d6190b63bcc8327526d9cbef68e2 (patch)
tree7f2b94c79f12b1a8d8f184fbc9568f84d2be66cf /archival
parent004827d71597b49c9c2eaac2654edc114981367c (diff)
downloadbusybox-7541e3a812b0d6190b63bcc8327526d9cbef68e2.zip
busybox-7541e3a812b0d6190b63bcc8327526d9cbef68e2.tar.gz
add dpkg-deb command
Diffstat (limited to 'archival')
-rw-r--r--archival/ar.c2
-rw-r--r--archival/tar.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/ar.c b/archival/ar.c
index bd54bb6..596574e 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -39,7 +39,7 @@ typedef struct ar_headers_s {
/*
* return the headerL_t struct for the filename descriptor
*/
-static ar_headers_t get_headers(int srcFd)
+extern ar_headers_t get_headers(int srcFd)
{
typedef struct raw_ar_header_s { /* Byte Offset */
char name[16]; /* 0-15 */
diff --git a/archival/tar.c b/archival/tar.c
index 04e351e..4971e47 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -134,7 +134,7 @@ struct TarInfo
typedef struct TarInfo TarInfo;
/* Local procedures to restore files from a tar file. */
-static int readTarFile(int tarFd, int extractFlag, int listFlag,
+extern int readTarFile(int tarFd, int extractFlag, int listFlag,
int tostdoutFlag, int verboseFlag, char** extractList,
char** excludeList);
@@ -153,7 +153,7 @@ void child_died()
exit(EXIT_FAILURE);
}
-static int tar_unzip_init(int tarFd)
+extern int tar_unzip_init(int tarFd)
{
int child_pid;
static int unzip_pipe[2];