aboutsummaryrefslogtreecommitdiff
path: root/debianutils/which.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-21 11:09:40 +0000
commit5e34ff29bcc870936ab18172f438a34d042d4e03 (patch)
treea5e7a528f2f916eb883f1161eadceacdf2dca4be /debianutils/which.c
parent8b814b4a349e2262c0ad25793b05206a14651ebb (diff)
downloadbusybox-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 'debianutils/which.c')
-rw-r--r--debianutils/which.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 748e6dc25..1558e5c6d 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -15,13 +15,13 @@
15int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 15int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
16int which_main(int argc UNUSED_PARAM, char **argv) 16int which_main(int argc UNUSED_PARAM, char **argv)
17{ 17{
18 USE_DESKTOP(int opt;) 18 IF_DESKTOP(int opt;)
19 int status = EXIT_SUCCESS; 19 int status = EXIT_SUCCESS;
20 char *path; 20 char *path;
21 char *p; 21 char *p;
22 22
23 opt_complementary = "-1"; /* at least one argument */ 23 opt_complementary = "-1"; /* at least one argument */
24 USE_DESKTOP(opt =) getopt32(argv, "a"); 24 IF_DESKTOP(opt =) getopt32(argv, "a");
25 argv += optind; 25 argv += optind;
26 26
27 /* This matches what is seen on e.g. ubuntu. 27 /* This matches what is seen on e.g. ubuntu.