diff --git a/usr.bin/tty/Makefile b/usr.bin/tty/Makefile index 5b914b23a4eb..14ed68fa5ebf 100644 --- a/usr.bin/tty/Makefile +++ b/usr.bin/tty/Makefile @@ -1,5 +1,7 @@ +# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= tty +WARNS?= 2 .include diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index 5753e34069f5..00e7d57c4afc 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -57,7 +57,7 @@ main(argc, argv) char **argv; { int ch, sflag; - char *t, *ttyname(); + char *t; sflag = 0; while ((ch = getopt(argc, argv, "s")) != -1)