mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
This commit is contained in:
parent
c86e1d1f86
commit
0fce1f20c8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87302
@ -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>
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user