diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
commit | 5e34ff29bcc870936ab18172f438a34d042d4e03 (patch) | |
tree | a5e7a528f2f916eb883f1161eadceacdf2dca4be /archival/gzip.c | |
parent | 8b814b4a349e2262c0ad25793b05206a14651ebb (diff) | |
download | busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.bz2 busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.zip |
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 43804b2e4..a8f8fa4a5 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -2015,7 +2015,7 @@ char* make_new_name_gzip(char *filename) | |||
2015 | } | 2015 | } |
2016 | 2016 | ||
2017 | static | 2017 | static |
2018 | USE_DESKTOP(long long) int pack_gzip(unpack_info_t *info UNUSED_PARAM) | 2018 | IF_DESKTOP(long long) int pack_gzip(unpack_info_t *info UNUSED_PARAM) |
2019 | { | 2019 | { |
2020 | struct stat s; | 2020 | struct stat s; |
2021 | 2021 | ||
@@ -2050,7 +2050,7 @@ int gzip_main(int argc UNUSED_PARAM, char **argv) | |||
2050 | unsigned opt; | 2050 | unsigned opt; |
2051 | 2051 | ||
2052 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ | 2052 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ |
2053 | opt = getopt32(argv, "cfv" USE_GUNZIP("dt") "q123456789n"); | 2053 | opt = getopt32(argv, "cfv" IF_GUNZIP("dt") "q123456789n"); |
2054 | #if ENABLE_GUNZIP /* gunzip_main may not be visible... */ | 2054 | #if ENABLE_GUNZIP /* gunzip_main may not be visible... */ |
2055 | if (opt & 0x18) // -d and/or -t | 2055 | if (opt & 0x18) // -d and/or -t |
2056 | return gunzip_main(argc, argv); | 2056 | return gunzip_main(argc, argv); |