diff options
Diffstat (limited to 'shell/ash_test/recho.c')
-rw-r--r-- | shell/ash_test/recho.c | 13 |
1 files changed, 4 insertions, 9 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 < ' ') { |