diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2000-12-10 01:57:30 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2000-12-10 01:57:30 +0000 |
commit | 46f44d24fcc25a5d6e13e0453485881bdf147e91 (patch) | |
tree | 669e07b8bbe267e0f6185509686f87b9e94aa71c /gunzip.c | |
parent | 00732b57c7392df0fad6fbe392628e3f2174ea57 (diff) | |
download | busybox-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | */ |
1087 | int unzip(in, out) | 1087 | extern int unzip(in, out) |
1088 | int in, out; /* input and output file descriptors */ | 1088 | int 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 | */ |
1182 | static int gunzip_init() | 1182 | extern 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) { |