summaryrefslogtreecommitdiff
path: root/games/ppt
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-12-12 06:30:46 +0000
commitc9914211a130f39541d54e14d9bfbea54ae992ab (patch)
treee28041524b695041af21f6f493d3c7c700be1ba1 /games/ppt
parent6636c9afd03c6dc4ff924567e02913bb1bbdd10a (diff)
Notes
Diffstat (limited to 'games/ppt')
-rw-r--r--games/ppt/ppt.c5
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)