From 7541e3a812b0d6190b63bcc8327526d9cbef68e2 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 2 Jan 2001 23:41:50 +0000 Subject: add dpkg-deb command --- archival/ar.c | 2 +- archival/tar.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'archival') 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]; -- cgit v1.1