diff options
author | bapt <bapt@FreeBSD.org> | 2016-03-26 11:41:35 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-03-26 11:41:35 +0000 |
commit | ecb384a0efd190ee9c80145f251e7aa54119ac8e (patch) | |
tree | bc608c4c1874b72a8e5175c197e587d57135d49f | |
parent | 973660346820ffcdcd0c4e5b23a98c02b64b7e6a (diff) | |
download | FreeBSD-src-ecb384a0efd190ee9c80145f251e7aa54119ac8e.zip FreeBSD-src-ecb384a0efd190ee9c80145f251e7aa54119ac8e.tar.gz |
Remove some unneeded headers
Found by 'include-what-you-use'
-rw-r--r-- | usr.sbin/pw/cpdir.c | 1 | ||||
-rw-r--r-- | usr.sbin/pw/pw_user.c | 2 | ||||
-rw-r--r-- | usr.sbin/pw/pw_utils.c | 3 | ||||
-rw-r--r-- | usr.sbin/pw/pw_vpw.c | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/pw/cpdir.c b/usr.sbin/pw/cpdir.c index 334f789..679758b 100644 --- a/usr.sbin/pw/cpdir.c +++ b/usr.sbin/pw/cpdir.c @@ -37,7 +37,6 @@ static const char rcsid[] = #include <unistd.h> #include "pw.h" -#include "pwupd.h" void copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c index 2f87b56..5ad1409 100644 --- a/usr.sbin/pw/pw_user.c +++ b/usr.sbin/pw/pw_user.c @@ -31,8 +31,6 @@ static const char rcsid[] = #endif /* not lint */ #include <sys/param.h> -#include <sys/resource.h> -#include <sys/time.h> #include <sys/types.h> #include <ctype.h> diff --git a/usr.sbin/pw/pw_utils.c b/usr.sbin/pw/pw_utils.c index 1a4f812..e483977 100644 --- a/usr.sbin/pw/pw_utils.c +++ b/usr.sbin/pw/pw_utils.c @@ -27,13 +27,10 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include <sys/types.h> #include <sys/wait.h> #include <err.h> -#include <inttypes.h> #include <sysexits.h> -#include <limits.h> #include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.sbin/pw/pw_vpw.c b/usr.sbin/pw/pw_vpw.c index 2d1c75b..08c8bd5 100644 --- a/usr.sbin/pw/pw_vpw.c +++ b/usr.sbin/pw/pw_vpw.c @@ -37,7 +37,6 @@ static const char rcsid[] = #include <stdio.h> #include <string.h> #include <stdlib.h> -#include <sys/param.h> #include <err.h> #include "pwupd.h" |