aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-29 11:46:52 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-29 11:46:52 +0200
commitfb132e47370378474c68ad22c1c0cb2ccee178de (patch)
tree4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /shell
parent66cb7bed33da605674c3d24734466b8e8a60e337 (diff)
downloadbusybox-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 'shell')
-rw-r--r--shell/ash_test/recho.c13
-rw-r--r--shell/ash_test/zecho.c5
2 files changed, 5 insertions, 13 deletions
diff --git a/shell/ash_test/recho.c b/shell/ash_test/recho.c
index fb48d9c48..42a5feafd 100644
--- a/shell/ash_test/recho.c
+++ b/shell/ash_test/recho.c
@@ -29,12 +29,9 @@
29 29
30void strprint(); 30void strprint();
31 31
32int 32int main(int argc, char **argv)
33main(argc, argv)
34int argc;
35char **argv;
36{ 33{
37 register int i; 34 int i;
38 35
39 for (i = 1; i < argc; i++) { 36 for (i = 1; i < argc; i++) {
40 printf("argv[%d] = <", i); 37 printf("argv[%d] = <", i);
@@ -44,11 +41,9 @@ char **argv;
44 exit(EXIT_SUCCESS); 41 exit(EXIT_SUCCESS);
45} 42}
46 43
47void 44void strprint(char *str)
48strprint(str)
49char *str;
50{ 45{
51 register unsigned char *s; 46 unsigned char *s;
52 47
53 for (s = (unsigned char *)str; s && *s; s++) { 48 for (s = (unsigned char *)str; s && *s; s++) {
54 if (*s < ' ') { 49 if (*s < ' ') {
diff --git a/shell/ash_test/zecho.c b/shell/ash_test/zecho.c
index bf876f641..cbaa59b81 100644
--- a/shell/ash_test/zecho.c
+++ b/shell/ash_test/zecho.c
@@ -21,10 +21,7 @@
21#include <stdio.h> 21#include <stdio.h>
22#include <stdlib.h> 22#include <stdlib.h>
23 23
24int 24int main(int argc, char **argv)
25main(argc, argv)
26int argc;
27char **argv;
28{ 25{
29 argv++; 26 argv++;
30 27