diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 00:49:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 00:49:59 +0000 |
commit | 35a064b67fc1954b95be06499a514a45c9f2e814 (patch) | |
tree | c3c2690d8c5c112ce744e17a906a860a0c6897d2 /miscutils/crond.c | |
parent | 202ac504e1addf0aa2debd53e7cd2411cc73ac8c (diff) | |
download | busybox-w32-35a064b67fc1954b95be06499a514a45c9f2e814.tar.gz busybox-w32-35a064b67fc1954b95be06499a514a45c9f2e814.tar.bz2 busybox-w32-35a064b67fc1954b95be06499a514a45c9f2e814.zip |
build system: tidying up CONFIG_xxx names (suggested by Rob)
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r-- | miscutils/crond.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 7d1908c63..bd7a177e0 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
@@ -80,9 +80,9 @@ enum { | |||
80 | OPT_b = (1 << 3), | 80 | OPT_b = (1 << 3), |
81 | OPT_S = (1 << 4), | 81 | OPT_S = (1 << 4), |
82 | OPT_c = (1 << 5), | 82 | OPT_c = (1 << 5), |
83 | OPT_d = (1 << 6) * ENABLE_DEBUG_CROND_OPTION, | 83 | OPT_d = (1 << 6) * ENABLE_FEATURE_CROND_D, |
84 | }; | 84 | }; |
85 | #if ENABLE_DEBUG_CROND_OPTION | 85 | #if ENABLE_FEATURE_CROND_D |
86 | #define DebugOpt (option_mask32 & OPT_d) | 86 | #define DebugOpt (option_mask32 & OPT_d) |
87 | #else | 87 | #else |
88 | #define DebugOpt 0 | 88 | #define DebugOpt 0 |
@@ -166,11 +166,11 @@ int crond_main(int argc UNUSED_PARAM, char **argv) | |||
166 | INIT_G(); | 166 | INIT_G(); |
167 | 167 | ||
168 | /* "-b after -f is ignored", and so on for every pair a-b */ | 168 | /* "-b after -f is ignored", and so on for every pair a-b */ |
169 | opt_complementary = "f-b:b-f:S-L:L-S" USE_DEBUG_CROND_OPTION(":d-l") | 169 | opt_complementary = "f-b:b-f:S-L:L-S" USE_FEATURE_CROND_D(":d-l") |
170 | ":l+:d+"; /* -l and -d have numeric param */ | 170 | ":l+:d+"; /* -l and -d have numeric param */ |
171 | opt = getopt32(argv, "l:L:fbSc:" USE_DEBUG_CROND_OPTION("d:"), | 171 | opt = getopt32(argv, "l:L:fbSc:" USE_FEATURE_CROND_D("d:"), |
172 | &LogLevel, &LogFile, &CDir | 172 | &LogLevel, &LogFile, &CDir |
173 | USE_DEBUG_CROND_OPTION(,&LogLevel)); | 173 | USE_FEATURE_CROND_D(,&LogLevel)); |
174 | /* both -d N and -l N set the same variable: LogLevel */ | 174 | /* both -d N and -l N set the same variable: LogLevel */ |
175 | 175 | ||
176 | if (!(opt & OPT_f)) { | 176 | if (!(opt & OPT_f)) { |