svn commit: r282687 - head/usr.sbin/pw
Baptiste Daroussin
bapt at FreeBSD.org
Sat May 9 19:29:57 UTC 2015
Author: bapt
Date: Sat May 9 19:29:55 2015
New Revision: 282687
URL: https://svnweb.freebsd.org/changeset/base/282687
Log:
Remove some uneeded headers
Modified:
head/usr.sbin/pw/grupd.c
head/usr.sbin/pw/pw_nis.c
head/usr.sbin/pw/pw_user.c
Modified: head/usr.sbin/pw/grupd.c
==============================================================================
--- head/usr.sbin/pw/grupd.c Sat May 9 19:22:33 2015 (r282686)
+++ head/usr.sbin/pw/grupd.c Sat May 9 19:29:55 2015 (r282687)
@@ -35,10 +35,6 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/param.h>
#include "pwupd.h"
Modified: head/usr.sbin/pw/pw_nis.c
==============================================================================
--- head/usr.sbin/pw/pw_nis.c Sat May 9 19:22:33 2015 (r282686)
+++ head/usr.sbin/pw/pw_nis.c Sat May 9 19:29:55 2015 (r282687)
@@ -29,9 +29,6 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
#include <err.h>
#include <pwd.h>
Modified: head/usr.sbin/pw/pw_user.c
==============================================================================
--- head/usr.sbin/pw/pw_user.c Sat May 9 19:22:33 2015 (r282686)
+++ head/usr.sbin/pw/pw_user.c Sat May 9 19:29:55 2015 (r282687)
@@ -40,7 +40,6 @@ static const char rcsid[] =
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
-#include <unistd.h>
#include <login_cap.h>
#include <pwd.h>
#include <grp.h>
More information about the svn-src-all
mailing list