summaryrefslogtreecommitdiff
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-w32-46f44d24fcc25a5d6e13e0453485881bdf147e91.tar.gz
busybox-w32-46f44d24fcc25a5d6e13e0453485881bdf147e91.tar.bz2
busybox-w32-46f44d24fcc25a5d6e13e0453485881bdf147e91.zip
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()
1084 * the compressed data, from offsets inptr to insize-1 included. 1084 * the compressed data, from offsets inptr to insize-1 included.
1085 * The magic header has already been checked. The output buffer is cleared. 1085 * The magic header has already been checked. The output buffer is cleared.
1086 */ 1086 */
1087int unzip(in, out) 1087extern int unzip(in, out)
1088int in, out; /* input and output file descriptors */ 1088int in, out; /* input and output file descriptors */
1089{ 1089{
1090 int ext_header = 0; /* set if extended local header */ 1090 int ext_header = 0; /* set if extended local header */
@@ -1179,7 +1179,7 @@ void clear_bufs(void)
1179/* =========================================================================== 1179/* ===========================================================================
1180 * Initialize gunzip buffers and signals 1180 * Initialize gunzip buffers and signals
1181 */ 1181 */
1182static int gunzip_init() 1182extern int gunzip_init()
1183{ 1183{
1184 foreground = signal(SIGINT, SIG_IGN) != SIG_IGN; 1184 foreground = signal(SIGINT, SIG_IGN) != SIG_IGN;
1185 if (foreground) { 1185 if (foreground) {