summaryrefslogtreecommitdiffstats
path: root/usr.bin/logname
diff options
context:
space:
mode:
authorssouhlal <ssouhlal@FreeBSD.org>2005-01-25 14:22:20 +0000
committerssouhlal <ssouhlal@FreeBSD.org>2005-01-25 14:22:20 +0000
commitfe2b11df54f096bf739d37092ad185911531e18f (patch)
treede40ca3fed64b96dd1e4dd79f6808c2fd4cd1a8b /usr.bin/logname
parent83dad33e1707407845c38c34077c9f4b82786110 (diff)
downloadFreeBSD-src-fe2b11df54f096bf739d37092ad185911531e18f.zip
FreeBSD-src-fe2b11df54f096bf739d37092ad185911531e18f.tar.gz
- Remove useless includes
- Add WARNS?= 6 to Makefile Submitted by: Liam J. Foy <liamfoy@gmail.com> Approved by: grehan (mentor)
Diffstat (limited to 'usr.bin/logname')
-rw-r--r--usr.bin/logname/Makefile1
-rw-r--r--usr.bin/logname/logname.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/logname/Makefile b/usr.bin/logname/Makefile
index 875df2c..4e910ce 100644
--- a/usr.bin/logname/Makefile
+++ b/usr.bin/logname/Makefile
@@ -2,5 +2,6 @@
# $FreeBSD$
PROG= logname
+WARNS?= 6
.include <bsd.prog.mk>
diff --git a/usr.bin/logname/logname.c b/usr.bin/logname/logname.c
index 05faf76..8f98b8a 100644
--- a/usr.bin/logname/logname.c
+++ b/usr.bin/logname/logname.c
@@ -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);
OpenPOWER on IntegriCloud