diff options
author | Denys Vlasenko | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /shell | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-fb132e47370378474c68ad22c1c0cb2ccee178de.zip busybox-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash_test/recho.c | 13 | ||||
-rw-r--r-- | shell/ash_test/zecho.c | 5 |
2 files changed, 5 insertions, 13 deletions
diff --git a/shell/ash_test/recho.c b/shell/ash_test/recho.c index fb48d9c..42a5fea 100644 --- a/shell/ash_test/recho.c +++ b/shell/ash_test/recho.c @@ -29,12 +29,9 @@ void strprint(); -int -main(argc, argv) -int argc; -char **argv; +int main(int argc, char **argv) { - register int i; + int i; for (i = 1; i < argc; i++) { printf("argv[%d] = <", i); @@ -44,11 +41,9 @@ char **argv; exit(EXIT_SUCCESS); } -void -strprint(str) -char *str; +void strprint(char *str) { - register unsigned char *s; + unsigned char *s; for (s = (unsigned char *)str; s && *s; s++) { if (*s < ' ') { diff --git a/shell/ash_test/zecho.c b/shell/ash_test/zecho.c index bf876f6..cbaa59b 100644 --- a/shell/ash_test/zecho.c +++ b/shell/ash_test/zecho.c @@ -21,10 +21,7 @@ #include <stdio.h> #include <stdlib.h> -int -main(argc, argv) -int argc; -char **argv; +int main(int argc, char **argv) { argv++; |