Author: bapt Date: Sat Mar 26 11:41:35 2016 New Revision: 297290 URL: https://svnweb.freebsd.org/changeset/base/297290
Log: Remove some unneeded headers Found by 'include-what-you-use' Modified: head/usr.sbin/pw/cpdir.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pw_utils.c head/usr.sbin/pw/pw_vpw.c Modified: head/usr.sbin/pw/cpdir.c ============================================================================== --- head/usr.sbin/pw/cpdir.c Sat Mar 26 11:13:17 2016 (r297289) +++ head/usr.sbin/pw/cpdir.c Sat Mar 26 11:41:35 2016 (r297290) @@ -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, Modified: head/usr.sbin/pw/pw_user.c ============================================================================== --- head/usr.sbin/pw/pw_user.c Sat Mar 26 11:13:17 2016 (r297289) +++ head/usr.sbin/pw/pw_user.c Sat Mar 26 11:41:35 2016 (r297290) @@ -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> Modified: head/usr.sbin/pw/pw_utils.c ============================================================================== --- head/usr.sbin/pw/pw_utils.c Sat Mar 26 11:13:17 2016 (r297289) +++ head/usr.sbin/pw/pw_utils.c Sat Mar 26 11:41:35 2016 (r297290) @@ -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> Modified: head/usr.sbin/pw/pw_vpw.c ============================================================================== --- head/usr.sbin/pw/pw_vpw.c Sat Mar 26 11:13:17 2016 (r297289) +++ head/usr.sbin/pw/pw_vpw.c Sat Mar 26 11:41:35 2016 (r297290) @@ -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" _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"