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 /editors/cmp.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 'editors/cmp.c')
-rw-r--r-- | editors/cmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/cmp.c b/editors/cmp.c index 2e98e6e24..a20bb8836 100644 --- a/editors/cmp.c +++ b/editors/cmp.c | |||
@@ -37,7 +37,7 @@ int cmp_main(int argc UNUSED_PARAM, char **argv) | |||
37 | { | 37 | { |
38 | FILE *fp1, *fp2, *outfile = stdout; | 38 | FILE *fp1, *fp2, *outfile = stdout; |
39 | const char *filename1, *filename2 = "-"; | 39 | const char *filename1, *filename2 = "-"; |
40 | USE_DESKTOP(off_t skip1 = 0, skip2 = 0;) | 40 | IF_DESKTOP(off_t skip1 = 0, skip2 = 0;) |
41 | off_t char_pos = 0; | 41 | off_t char_pos = 0; |
42 | int line_pos = 1; /* Hopefully won't overflow... */ | 42 | int line_pos = 1; /* Hopefully won't overflow... */ |
43 | const char *fmt; | 43 | const char *fmt; |
@@ -48,8 +48,8 @@ int cmp_main(int argc UNUSED_PARAM, char **argv) | |||
48 | xfunc_error_retval = 2; /* 1 is returned if files are different. */ | 48 | xfunc_error_retval = 2; /* 1 is returned if files are different. */ |
49 | 49 | ||
50 | opt_complementary = "-1" | 50 | opt_complementary = "-1" |
51 | USE_DESKTOP(":?4") | 51 | IF_DESKTOP(":?4") |
52 | SKIP_DESKTOP(":?2") | 52 | IF_NOT_DESKTOP(":?2") |
53 | ":l--s:s--l"; | 53 | ":l--s:s--l"; |
54 | opt = getopt32(argv, opt_chars); | 54 | opt = getopt32(argv, opt_chars); |
55 | argv += optind; | 55 | argv += optind; |