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
commitb55b6a4630fcb1f1ae2fee2d830b0e7e6fa9fca2 (patch)
tree08b8e32d6ab3bdb57e3ed88d2188c85594fd59bf /pw
parent629e41f9d4d2cda0f7b1ed3b1fb929cfbf0873f1 (diff)
downloadpw-darwin-b55b6a4630fcb1f1ae2fee2d830b0e7e6fa9fca2.tar.gz
pw-darwin-b55b6a4630fcb1f1ae2fee2d830b0e7e6fa9fca2.tar.zst
pw-darwin-b55b6a4630fcb1f1ae2fee2d830b0e7e6fa9fca2.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>