Fix a trivial warning and clamp down with WARNS=2

MFC after:      1 week
This commit is contained in:
Kris Kennaway 2001-05-26 22:47:58 +00:00
parent 50d6b258b2
commit 83b65cc9cb
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= colcrt
CFLAGS+=-Wall
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -73,10 +73,11 @@ char printall;
FILE *f;
static void usage __P((void));
static void pflush __P((int));
static int plus __P((char, char));
static void move __P((int, int));
int main __P((int, char *[]));
static void move __P((int, int));
static void pflush __P((int));
static int plus __P((char, char));
static void usage __P((void));
int
main(argc, argv)