diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-03-26 11:41:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-03-26 11:41:35 +0000 |
commit | 84d714d74e782c57b185a1016304f8dd1c158a36 (patch) | |
tree | a8a45f1b0b2e951a5b905d77183d258c56115402 | |
parent | 11e16b30cffb1c23f2b79309c7eeabe4e415c84f (diff) | |
download | pw-darwin-84d714d74e782c57b185a1016304f8dd1c158a36.tar.gz pw-darwin-84d714d74e782c57b185a1016304f8dd1c158a36.tar.zst pw-darwin-84d714d74e782c57b185a1016304f8dd1c158a36.zip |
Remove some unneeded headers
Found by 'include-what-you-use'
-rw-r--r-- | pw/cpdir.c | 1 | ||||
-rw-r--r-- | pw/pw_user.c | 2 | ||||
-rw-r--r-- | pw/pw_utils.c | 3 | ||||
-rw-r--r-- | pw/pw_vpw.c | 1 |
4 files changed, 0 insertions, 7 deletions
@@ -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/pw/pw_user.c b/pw/pw_user.c index 2f87b56..5ad1409 100644 --- a/pw/pw_user.c +++ b/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/pw/pw_utils.c b/pw/pw_utils.c index 1a4f812..e483977 100644 --- a/pw/pw_utils.c +++ b/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/pw/pw_vpw.c b/pw/pw_vpw.c index 2d1c75b..08c8bd5 100644 --- a/pw/pw_vpw.c +++ b/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" |