summaryrefslogtreecommitdiffhomepage
path: root/archival/bbunzip.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 00:53:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 00:53:45 +0200
commit6c5bf0d347faded028e15d523c26a0d64c6d3920 (patch)
tree9dbe0229ec0d941c9efabb88571e6140d8e71951 /archival/bbunzip.c
parent0e5ba0843b86a78d2d98a5fbaac8d33fe041f10e (diff)
make it possible to have include/applets.h-esque entries in .c files
As an example, bunzip2 and bzcat is changed to use it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/bbunzip.c')
-rw-r--r--archival/bbunzip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c
index 08db2752c..ce6223514 100644
--- a/archival/bbunzip.c
+++ b/archival/bbunzip.c
@@ -304,6 +304,8 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv)
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+//applet:IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP))
+//applet:IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat))
#if ENABLE_BUNZIP2
static
IF_DESKTOP(long long) int FAST_FUNC unpack_bunzip2(unpack_info_t *info UNUSED_PARAM)