Support for tar -z option for uncompressing only
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 @@
* 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 @@
/* ===========================================================================
* Initialize gunzip buffers and signals
*/
-static int gunzip_init()
+extern int gunzip_init()
{
foreground = signal(SIGINT, SIG_IGN) != SIG_IGN;
if (foreground) {