Date: Sat, 26 Mar 2016 11:41:35 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297290 - head/usr.sbin/pw Message-ID: <201603261141.u2QBfZSn063010@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603261141.u2QBfZSn063010>