diff options
author | ssouhlal <ssouhlal@FreeBSD.org> | 2005-01-25 14:22:20 +0000 |
---|---|---|
committer | ssouhlal <ssouhlal@FreeBSD.org> | 2005-01-25 14:22:20 +0000 |
commit | fe2b11df54f096bf739d37092ad185911531e18f (patch) | |
tree | de40ca3fed64b96dd1e4dd79f6808c2fd4cd1a8b /usr.bin | |
parent | 83dad33e1707407845c38c34077c9f4b82786110 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.bin/logname/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/logname/logname.c | 2 |
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); |