aboutsummaryrefslogtreecommitdiff
path: root/gunzip.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2000-12-10 01:57:30 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2000-12-10 01:57:30 +0000
commit46f44d24fcc25a5d6e13e0453485881bdf147e91 (patch)
tree669e07b8bbe267e0f6185509686f87b9e94aa71c /gunzip.c
parent00732b57c7392df0fad6fbe392628e3f2174ea57 (diff)
downloadbusybox-46f44d24fcc25a5d6e13e0453485881bdf147e91.tar.gz
Support for tar -z option for uncompressing only
Diffstat (limited to 'gunzip.c')
-rw-r--r--gunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gunzip.c b/gunzip.c
index 48db7cfd7..8558573ba 100644
--- a/gunzip.c
+++ b/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) {