aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/bbunzip.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index b922fd373..91dd5404c 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -1,7 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * Modified for busybox by Glenn McGrath <bug1@iinet.net.au> 3 * Common code for gunzip-like applets
4 * Added support output to stdout by Thomas Lundquist <thomasez@zelow.no>
5 * 4 *
6 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 5 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
7 */ 6 */
@@ -127,6 +126,8 @@ int unpack(char **argv,
127 return exitcode; 126 return exitcode;
128} 127}
129 128
129#if ENABLE_BUNZIP2 || ENABLE_UNLZMA || ENABLE_UNCOMPRESS
130
130static 131static
131char* make_new_name_generic(char *filename, const char *expected_ext) 132char* make_new_name_generic(char *filename, const char *expected_ext)
132{ 133{
@@ -140,6 +141,17 @@ char* make_new_name_generic(char *filename, const char *expected_ext)
140 return filename; 141 return filename;
141} 142}
142 143
144#endif
145
146
147/* vi: set sw=4 ts=4: */
148/*
149 * Modified for busybox by Glenn McGrath <bug1@iinet.net.au>
150 * Added support output to stdout by Thomas Lundquist <thomasez@zelow.no>
151 *
152 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
153 */
154
143#if ENABLE_BUNZIP2 155#if ENABLE_BUNZIP2
144 156
145static 157static