diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:33:59 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-03 21:33:59 +0000 |
commit | d0e180a89a67ffe34aaf88ece44ae7537b7c2350 (patch) | |
tree | 487a9e1237b5b15323a9c4c30d712c34e094001c /usr.bin/tty | |
parent | 8136379bed4a4ca0addb8a7e3ae5f04590eb85bc (diff) | |
download | FreeBSD-src-d0e180a89a67ffe34aaf88ece44ae7537b7c2350.zip FreeBSD-src-d0e180a89a67ffe34aaf88ece44ae7537b7c2350.tar.gz |
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
Diffstat (limited to 'usr.bin/tty')
-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) |