Remove some unneeded headers
Found by 'include-what-you-use'
This commit is contained in:
parent
d69b292c7c
commit
41328b4417
@ -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,
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user