diff options
-rw-r--r-- | usr.bin/tty/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/tty/tty.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tty/Makefile b/usr.bin/tty/Makefile index 5b914b2..14ed68f 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 <bsd.prog.mk> diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index 5753e34..00e7d57 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) |