summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 13:22:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-08-02 13:22:46 +0000
commit29b5eb2caa2e7744524e53a3c114e80409c37f33 (patch)
tree3d6f40f7492de46de1508ff5ca9ebb53516ddde5 /pw/pw_user.c
parent86b70b831eed513183b8ad9ad2dc3c46acb483f0 (diff)
downloadpw-darwin-29b5eb2caa2e7744524e53a3c114e80409c37f33.tar.gz
pw-darwin-29b5eb2caa2e7744524e53a3c114e80409c37f33.tar.zst
pw-darwin-29b5eb2caa2e7744524e53a3c114e80409c37f33.zip
Cleanup a bit includes
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r--pw/pw_user.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 172e5ef..b54cccb 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -30,23 +30,28 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
+#include <sys/param.h>
+#include <sys/resource.h>
+#include <sys/time.h>
+#include <sys/types.h>
+
#include <ctype.h>
+#include <dirent.h>
#include <err.h>
#include <fcntl.h>
-#include <inttypes.h>
-#include <sys/param.h>
-#include <dirent.h>
-#include <paths.h>
-#include <termios.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <login_cap.h>
-#include <pwd.h>
#include <grp.h>
+#include <pwd.h>
#include <libutil.h>
+#include <login_cap.h>
+#include <paths.h>
+#include <string.h>
+#include <sysexits.h>
+#include <termios.h>
+#include <unistd.h>
+
#include "pw.h"
#include "bitmap.h"
+#include "psdate.h"
#define LOGNAMESIZE (MAXLOGNAME-1)