diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/ar.c | 2 | ||||
-rw-r--r-- | archival/tar.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/ar.c b/archival/ar.c index bd54bb6b8..596574e6a 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -39,7 +39,7 @@ typedef struct ar_headers_s { | |||
39 | /* | 39 | /* |
40 | * return the headerL_t struct for the filename descriptor | 40 | * return the headerL_t struct for the filename descriptor |
41 | */ | 41 | */ |
42 | static ar_headers_t get_headers(int srcFd) | 42 | extern ar_headers_t get_headers(int srcFd) |
43 | { | 43 | { |
44 | typedef struct raw_ar_header_s { /* Byte Offset */ | 44 | typedef struct raw_ar_header_s { /* Byte Offset */ |
45 | char name[16]; /* 0-15 */ | 45 | char name[16]; /* 0-15 */ |
diff --git a/archival/tar.c b/archival/tar.c index 04e351e37..4971e4775 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -134,7 +134,7 @@ struct TarInfo | |||
134 | typedef struct TarInfo TarInfo; | 134 | typedef struct TarInfo TarInfo; |
135 | 135 | ||
136 | /* Local procedures to restore files from a tar file. */ | 136 | /* Local procedures to restore files from a tar file. */ |
137 | static int readTarFile(int tarFd, int extractFlag, int listFlag, | 137 | extern int readTarFile(int tarFd, int extractFlag, int listFlag, |
138 | int tostdoutFlag, int verboseFlag, char** extractList, | 138 | int tostdoutFlag, int verboseFlag, char** extractList, |
139 | char** excludeList); | 139 | char** excludeList); |
140 | 140 | ||
@@ -153,7 +153,7 @@ void child_died() | |||
153 | exit(EXIT_FAILURE); | 153 | exit(EXIT_FAILURE); |
154 | } | 154 | } |
155 | 155 | ||
156 | static int tar_unzip_init(int tarFd) | 156 | extern int tar_unzip_init(int tarFd) |
157 | { | 157 | { |
158 | int child_pid; | 158 | int child_pid; |
159 | static int unzip_pipe[2]; | 159 | static int unzip_pipe[2]; |