Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.

This commit is contained in:
David Malone 2001-12-03 21:33:59 +00:00
parent c86e1d1f86
commit 0fce1f20c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87302
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -57,7 +57,7 @@ main(argc, argv)
char **argv; char **argv;
{ {
int ch, sflag; int ch, sflag;
char *t, *ttyname(); char *t;
sflag = 0; sflag = 0;
while ((ch = getopt(argc, argv, "s")) != -1) while ((ch = getopt(argc, argv, "s")) != -1)