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/Makefile | 3 +++ games/ppt/ppt.c | 8 +++----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'games') diff --git a/games/ppt/Makefile b/games/ppt/Makefile index 64e3db0..9dedd3a 100644 --- a/games/ppt/Makefile +++ b/games/ppt/Makefile @@ -1,7 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 +# $FreeBSD$ PROG= ppt NOMAN= noman +WARNS?= 6 + .include 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