From b1d859658754073f196a6b8593a049206eeee655 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sun, 1 Aug 2004 18:52:40 +0000 Subject: Include for exit(), use prototypes and bump WARNS to 6. --- games/ppt/ppt.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'games/ppt/ppt.c') diff --git a/games/ppt/ppt.c b/games/ppt/ppt.c index 2df8ef2..e0ae5e1 100644 --- a/games/ppt/ppt.c +++ b/games/ppt/ppt.c @@ -46,13 +46,12 @@ static const char rcsid[] = #endif /* not lint */ #include +#include static void putppt(int); int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { int c; char *p; @@ -69,8 +68,7 @@ main(argc, argv) } static void -putppt(c) - int c; +putppt(int c) { int i; -- cgit v1.1