]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Remove some unneeded headers
authorBaptiste Daroussin <bapt@FreeBSD.org>
Sat, 26 Mar 2016 11:41:35 +0000 (11:41 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Sat, 26 Mar 2016 11:41:35 +0000 (11:41 +0000)
Found by 'include-what-you-use'

pw/cpdir.c
pw/pw_user.c
pw/pw_utils.c
pw/pw_vpw.c

index 334f789bb75edf368d619062f8859b0f83d672bc..679758ba9a338ccb2d8b294b644b83bb8e4d75bd 100644 (file)
@@ -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,
index 2f87b56af6c093725525d815c4b7b1726f1d4271..5ad1409f48b66cd0a04fb70f962b1fb80cc45527 100644 (file)
@@ -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>
index 1a4f8127de140c9eaf02afc23b4a9c57bb796d04..e4839779e15f05d0c490c22882df12a6bc87de86 100644 (file)
 #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>
index 2d1c75b4b983783e9fcf0bf3b123fbeb1fa94774..08c8bd5336d8c7571d92f685bcc0532291a94410 100644 (file)
@@ -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"