Remove some unneeded headers

Found by 'include-what-you-use'
This commit is contained in:
Baptiste Daroussin 2016-03-26 11:41:35 +00:00
parent d69b292c7c
commit 41328b4417
4 changed files with 0 additions and 7 deletions

View File

@ -37,7 +37,6 @@ static const char rcsid[] =
#include <unistd.h> #include <unistd.h>
#include "pw.h" #include "pw.h"
#include "pwupd.h"
void void
copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid,

View File

@ -31,8 +31,6 @@ static const char rcsid[] =
#endif /* not lint */ #endif /* not lint */
#include <sys/param.h> #include <sys/param.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <ctype.h> #include <ctype.h>

View File

@ -27,13 +27,10 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <err.h> #include <err.h>
#include <inttypes.h>
#include <sysexits.h> #include <sysexits.h>
#include <limits.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -37,7 +37,6 @@ static const char rcsid[] =
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/param.h>
#include <err.h> #include <err.h>
#include "pwupd.h" #include "pwupd.h"