summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-05-09 19:29:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-05-09 19:29:55 +0000
commit8f8f1acc5d6c14c716658ea62ce5c631f52fc15b (patch)
tree68f941612d36546a5d35512a0f41987228a1098e /pw
parent17cda2b72950d0a16d0b2cc116dece33cf5c0938 (diff)
downloadpw-darwin-8f8f1acc5d6c14c716658ea62ce5c631f52fc15b.tar.gz
pw-darwin-8f8f1acc5d6c14c716658ea62ce5c631f52fc15b.tar.zst
pw-darwin-8f8f1acc5d6c14c716658ea62ce5c631f52fc15b.zip
Remove some uneeded headers
Diffstat (limited to 'pw')
-rw-r--r--pw/grupd.c4
-rw-r--r--pw/pw_nis.c3
-rw-r--r--pw/pw_user.c1
3 files changed, 0 insertions, 8 deletions
diff --git a/pw/grupd.c b/pw/grupd.c
index 3f78e95..74cc390 100644
--- a/pw/grupd.c
+++ b/pw/grupd.c
@@ -35,10 +35,6 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/param.h>
#include "pwupd.h"
diff --git a/pw/pw_nis.c b/pw/pw_nis.c
index 918fc30..c786cc7 100644
--- a/pw/pw_nis.c
+++ b/pw/pw_nis.c
@@ -29,9 +29,6 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
#include <err.h>
#include <pwd.h>
diff --git a/pw/pw_user.c b/pw/pw_user.c
index dc9a2d8..bdb3cd6 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -40,7 +40,6 @@ static const char rcsid[] =
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
-#include <unistd.h>
#include <login_cap.h>
#include <pwd.h>
#include <grp.h>