diff options
Diffstat (limited to 'support/recho.c')
-rw-r--r-- | support/recho.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/support/recho.c b/support/recho.c index 847fa2c..141c763 100644 --- a/support/recho.c +++ b/support/recho.c @@ -1,5 +1,8 @@ #include <stdio.h> +void strprint(); + +int main(argc, argv) int argc; char **argv; @@ -11,13 +14,14 @@ char **argv; strprint(argv[i]); printf(">\n"); } + exit(0); } +void strprint(str) char *str; { register char *s; - int c; for (s = str; s && *s; s++) { if (*s < ' ') { @@ -29,5 +33,4 @@ char *str; } else putchar(*s); } - return(0); } |