diff options
author | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:33:59 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2001-12-03 21:33:59 +0000 |
commit | 0fce1f20c8c05d31e47a510a02912163ff3d9287 (patch) | |
tree | 487a9e1237b5b15323a9c4c30d712c34e094001c /usr.bin/tty | |
parent | c86e1d1f867ab8d734de17f757000b451018a023 (diff) | |
download | src-test-0fce1f20c8c05d31e47a510a02912163ff3d9287.tar.gz src-test-0fce1f20c8c05d31e47a510a02912163ff3d9287.zip |
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
Notes
Notes:
svn path=/head/; revision=87302
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 5b914b23a4eb4..14ed68fa5ebf2 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 5753e34069f5e..00e7d57c4afc8 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) |