summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-06-21 20:36:10 +0000
committerdelphij <delphij@FreeBSD.org>2011-06-21 20:36:10 +0000
commit7ced5ae9ca81d000580d384b7a02def207b32004 (patch)
tree6b54d06b0d8c20212857e791476d25387b7962bf
parent73a54b65fe42e9fc33d5bececcc0586f92ce2351 (diff)
downloadFreeBSD-src-7ced5ae9ca81d000580d384b7a02def207b32004.zip
FreeBSD-src-7ced5ae9ca81d000580d384b7a02def207b32004.tar.gz
Remove unneeded headers.
MFC after: 2 weeks
-rw-r--r--usr.bin/lastcomm/lastcomm.c2
-rw-r--r--usr.bin/lastcomm/readrec.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/lastcomm/lastcomm.c b/usr.bin/lastcomm/lastcomm.c
index 8852081..e140c70 100644
--- a/usr.bin/lastcomm/lastcomm.c
+++ b/usr.bin/lastcomm/lastcomm.c
@@ -48,8 +48,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <errno.h>
-#include <fcntl.h>
-#include <grp.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.bin/lastcomm/readrec.c b/usr.bin/lastcomm/readrec.c
index 4883b2a..5de7c5c 100644
--- a/usr.bin/lastcomm/readrec.c
+++ b/usr.bin/lastcomm/readrec.c
@@ -33,13 +33,9 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/acct.h>
-#include <ctype.h>
-#include <err.h>
#include <errno.h>
-#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
int readrec_forward(FILE *f, struct acctv2 *av2);
OpenPOWER on IntegriCloud