mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
- Remove useless includes
- Add WARNS?= 6 to Makefile Submitted by: Liam J. Foy <liamfoy@gmail.com> Approved by: grehan (mentor)
This commit is contained in:
parent
1fbff2d146
commit
4dd5ff1fce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140813
|
@ -2,5 +2,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= logname
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -44,11 +44,9 @@ static const char sccsid[] = "@(#)logname.c 8.2 (Berkeley) 4/3/94";
|
|||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
void usage(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue