diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /editors | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.bz2 busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.zip |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/awk.c | 14 | ||||
-rw-r--r-- | editors/diff.c | 2 | ||||
-rw-r--r-- | editors/sed.c | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/editors/awk.c b/editors/awk.c index 8bc56756c..2eeb9d77a 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -277,10 +277,10 @@ enum { | |||
277 | 277 | ||
278 | /* tokens and their corresponding info values */ | 278 | /* tokens and their corresponding info values */ |
279 | 279 | ||
280 | #define NTC "\377" /* switch to next token class (tc<<1) */ | 280 | #define NTC "\377" /* switch to next token class (tc<<1) */ |
281 | #define NTCC '\377' | 281 | #define NTCC '\377' |
282 | 282 | ||
283 | #define OC_B OC_BUILTIN | 283 | #define OC_B OC_BUILTIN |
284 | 284 | ||
285 | static const char tokenlist[] ALIGN1 = | 285 | static const char tokenlist[] ALIGN1 = |
286 | "\1(" NTC | 286 | "\1(" NTC |
@@ -368,7 +368,7 @@ static const uint32_t tokeninfo[] = { | |||
368 | OC_B|B_ss|P(0x8f), OC_FBLTIN|F_ti, OC_B|B_ti|P(0x0b), OC_B|B_mt|P(0x0b), | 368 | OC_B|B_ss|P(0x8f), OC_FBLTIN|F_ti, OC_B|B_ti|P(0x0b), OC_B|B_mt|P(0x0b), |
369 | OC_B|B_lo|P(0x49), OC_B|B_up|P(0x49), | 369 | OC_B|B_lo|P(0x49), OC_B|B_up|P(0x49), |
370 | OC_GETLINE|SV|P(0), | 370 | OC_GETLINE|SV|P(0), |
371 | 0, 0, | 371 | 0, 0, |
372 | 0, | 372 | 0, |
373 | 0 /* END */ | 373 | 0 /* END */ |
374 | }; | 374 | }; |
@@ -380,7 +380,7 @@ enum { | |||
380 | ORS, RS, RT, FILENAME, | 380 | ORS, RS, RT, FILENAME, |
381 | SUBSEP, F0, ARGIND, ARGC, | 381 | SUBSEP, F0, ARGIND, ARGC, |
382 | ARGV, ERRNO, FNR, NR, | 382 | ARGV, ERRNO, FNR, NR, |
383 | NF, IGNORECASE, ENVIRON, NUM_INTERNAL_VARS | 383 | NF, IGNORECASE, ENVIRON, NUM_INTERNAL_VARS |
384 | }; | 384 | }; |
385 | 385 | ||
386 | static const char vNames[] ALIGN1 = | 386 | static const char vNames[] ALIGN1 = |
@@ -2335,7 +2335,7 @@ static var *evaluate(node *op, var *res) | |||
2335 | #define fnargs (G.evaluate__fnargs) | 2335 | #define fnargs (G.evaluate__fnargs) |
2336 | /* seed is initialized to 1 */ | 2336 | /* seed is initialized to 1 */ |
2337 | #define seed (G.evaluate__seed) | 2337 | #define seed (G.evaluate__seed) |
2338 | #define sreg (G.evaluate__sreg) | 2338 | #define sreg (G.evaluate__sreg) |
2339 | 2339 | ||
2340 | var *v1; | 2340 | var *v1; |
2341 | 2341 | ||
@@ -2611,7 +2611,7 @@ static var *evaluate(node *op, var *res) | |||
2611 | rsm->F = popen(L.s, "r"); | 2611 | rsm->F = popen(L.s, "r"); |
2612 | rsm->is_pipe = TRUE; | 2612 | rsm->is_pipe = TRUE; |
2613 | } else { | 2613 | } else { |
2614 | rsm->F = fopen_for_read(L.s); /* not xfopen! */ | 2614 | rsm->F = fopen_for_read(L.s); /* not xfopen! */ |
2615 | } | 2615 | } |
2616 | } | 2616 | } |
2617 | } else { | 2617 | } else { |
diff --git a/editors/diff.c b/editors/diff.c index d9d709db6..cc7ba472e 100644 --- a/editors/diff.c +++ b/editors/diff.c | |||
@@ -230,7 +230,7 @@ static int search(const int *c, int k, int y, const struct cand *list) | |||
230 | { | 230 | { |
231 | int i, j; | 231 | int i, j; |
232 | 232 | ||
233 | if (list[c[k]].y < y) /* quick look for typical case */ | 233 | if (list[c[k]].y < y) /* quick look for typical case */ |
234 | return k + 1; | 234 | return k + 1; |
235 | 235 | ||
236 | for (i = 0, j = k + 1;;) { | 236 | for (i = 0, j = k + 1;;) { |
diff --git a/editors/sed.c b/editors/sed.c index 964d0405e..b91acfb7f 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -117,9 +117,9 @@ struct globals { | |||
117 | char *add_cmd_line; | 117 | char *add_cmd_line; |
118 | 118 | ||
119 | struct pipeline { | 119 | struct pipeline { |
120 | char *buf; /* Space to hold string */ | 120 | char *buf; /* Space to hold string */ |
121 | int idx; /* Space used */ | 121 | int idx; /* Space used */ |
122 | int len; /* Space allocated */ | 122 | int len; /* Space allocated */ |
123 | } pipeline; | 123 | } pipeline; |
124 | } FIX_ALIASING; | 124 | } FIX_ALIASING; |
125 | #define G (*(struct globals*)&bb_common_bufsiz1) | 125 | #define G (*(struct globals*)&bb_common_bufsiz1) |