summaryrefslogtreecommitdiff
path: root/archival/gunzip.c
diff options
context:
space:
mode:
authorGlenn L McGrath2000-12-10 01:57:30 +0000
committerGlenn L McGrath2000-12-10 01:57:30 +0000
commit46f44d24fcc25a5d6e13e0453485881bdf147e91 (patch)
tree669e07b8bbe267e0f6185509686f87b9e94aa71c /archival/gunzip.c
parent00732b57c7392df0fad6fbe392628e3f2174ea57 (diff)
downloadbusybox-46f44d24fcc25a5d6e13e0453485881bdf147e91.zip
busybox-46f44d24fcc25a5d6e13e0453485881bdf147e91.tar.gz
Support for tar -z option for uncompressing only
Diffstat (limited to 'archival/gunzip.c')
-rw-r--r--archival/gunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 48db7cf..8558573 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -1084,7 +1084,7 @@ int inflate()
* the compressed data, from offsets inptr to insize-1 included.
* The magic header has already been checked. The output buffer is cleared.
*/
-int unzip(in, out)
+extern int unzip(in, out)
int in, out; /* input and output file descriptors */
{
int ext_header = 0; /* set if extended local header */
@@ -1179,7 +1179,7 @@ void clear_bufs(void)
/* ===========================================================================
* Initialize gunzip buffers and signals
*/
-static int gunzip_init()
+extern int gunzip_init()
{
foreground = signal(SIGINT, SIG_IGN) != SIG_IGN;
if (foreground) {