diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:55 +0000 |
| commit | d9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch) | |
| tree | ffdef7f5ab4a33038d0a62c9355b48f362aa463e /coreutils | |
| parent | 079f8afa0a16112cbaf7012c82b38b7358b82141 (diff) | |
| download | busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.bz2 busybox-w32-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip | |
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/diff.c | 16 | ||||
| -rw-r--r-- | coreutils/mv.c | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/coreutils/diff.c b/coreutils/diff.c index 2920bf143..0b83c9ddf 100644 --- a/coreutils/diff.c +++ b/coreutils/diff.c | |||
| @@ -342,7 +342,7 @@ static int isqrt(int n) | |||
| 342 | x /= 2; | 342 | x /= 2; |
| 343 | } while ((x - y) > 1 || (x - y) < -1); | 343 | } while ((x - y) > 1 || (x - y) < -1); |
| 344 | 344 | ||
| 345 | return (x); | 345 | return x; |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | static int newcand(int x, int y, int pred) | 348 | static int newcand(int x, int y, int pred) |
| @@ -357,7 +357,7 @@ static int newcand(int x, int y, int pred) | |||
| 357 | q->x = x; | 357 | q->x = x; |
| 358 | q->y = y; | 358 | q->y = y; |
| 359 | q->pred = pred; | 359 | q->pred = pred; |
| 360 | return (clen++); | 360 | return clen++; |
| 361 | } | 361 | } |
| 362 | 362 | ||
| 363 | 363 | ||
| @@ -366,7 +366,7 @@ static int search(int *c, int k, int y) | |||
| 366 | int i, j, l, t; | 366 | int i, j, l, t; |
| 367 | 367 | ||
| 368 | if (clist[c[k]].y < y) /* quick look for typical case */ | 368 | if (clist[c[k]].y < y) /* quick look for typical case */ |
| 369 | return (k + 1); | 369 | return k + 1; |
| 370 | i = 0; | 370 | i = 0; |
| 371 | j = k + 1; | 371 | j = k + 1; |
| 372 | while (1) { | 372 | while (1) { |
| @@ -379,9 +379,9 @@ static int search(int *c, int k, int y) | |||
| 379 | else if (t < y) | 379 | else if (t < y) |
| 380 | i = l; | 380 | i = l; |
| 381 | else | 381 | else |
| 382 | return (l); | 382 | return l; |
| 383 | } | 383 | } |
| 384 | return (l + 1); | 384 | return l + 1; |
| 385 | } | 385 | } |
| 386 | 386 | ||
| 387 | 387 | ||
| @@ -428,7 +428,7 @@ static int stone(int *a, int n, int *b, int *c) | |||
| 428 | } | 428 | } |
| 429 | } while ((y = b[++j]) > 0 && numtries < bound); | 429 | } while ((y = b[++j]) > 0 && numtries < bound); |
| 430 | } | 430 | } |
| 431 | return (k); | 431 | return k; |
| 432 | } | 432 | } |
| 433 | 433 | ||
| 434 | static void unravel(int p) | 434 | static void unravel(int p) |
| @@ -461,7 +461,7 @@ static int skipline(FILE * f) | |||
| 461 | 461 | ||
| 462 | for (i = 1; (c = getc(f)) != '\n' && c != EOF; i++) | 462 | for (i = 1; (c = getc(f)) != '\n' && c != EOF; i++) |
| 463 | continue; | 463 | continue; |
| 464 | return (i); | 464 | return i; |
| 465 | } | 465 | } |
| 466 | 466 | ||
| 467 | 467 | ||
| @@ -977,7 +977,7 @@ static int diffreg(char *ofile1, char *ofile2, int flags) | |||
| 977 | free(file1); | 977 | free(file1); |
| 978 | if (file2 != ofile2) | 978 | if (file2 != ofile2) |
| 979 | free(file2); | 979 | free(file2); |
| 980 | return (rval); | 980 | return rval; |
| 981 | } | 981 | } |
| 982 | 982 | ||
| 983 | #if ENABLE_FEATURE_DIFF_DIR | 983 | #if ENABLE_FEATURE_DIFF_DIR |
diff --git a/coreutils/mv.c b/coreutils/mv.c index 52ddd9fb7..353124b35 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
| @@ -127,5 +127,5 @@ RET_0: | |||
| 127 | } | 127 | } |
| 128 | } while (*++argv != last); | 128 | } while (*++argv != last); |
| 129 | 129 | ||
| 130 | return (status); | 130 | return status; |
| 131 | } | 131 | } |
