diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 1999-12-12 06:30:46 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 1999-12-12 06:30:46 +0000 |
| commit | c9914211a130f39541d54e14d9bfbea54ae992ab (patch) | |
| tree | e28041524b695041af21f6f493d3c7c700be1ba1 /games/ppt | |
| parent | 6636c9afd03c6dc4ff924567e02913bb1bbdd10a (diff) | |
Notes
Diffstat (limited to 'games/ppt')
| -rw-r--r-- | games/ppt/ppt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/ppt/ppt.c b/games/ppt/ppt.c index ac30eba8273b..2df8ef264023 100644 --- a/games/ppt/ppt.c +++ b/games/ppt/ppt.c @@ -47,8 +47,9 @@ static const char rcsid[] = #include <stdio.h> -static void putppt(); +static void putppt(int); +int main(argc, argv) int argc; char **argv; @@ -58,7 +59,7 @@ main(argc, argv) (void) puts("___________"); if (argc > 1) - while (p = *++argv) + while ((p = *++argv)) for (; *p; ++p) putppt((int)*p); else while ((c = getchar()) != EOF) |
