Include <stdlib.h> for exit(), use prototypes and bump WARNS to 6.
This commit is contained in:
parent
a5ed4a0ad5
commit
e71c114c97
@ -1,7 +1,10 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ppt
|
||||
NOMAN= noman
|
||||
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -46,13 +46,12 @@ static const char rcsid[] =
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user