diff options
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 ac30eba..2df8ef2 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) |