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
commit4573132fd44c8bd71211a975ed21e9acbb58ca45 (patch)
treebe9c6190c2f67f48d9dcf5c4c60d975ead98572d /pw/pw_user.c
parente07217893e016b8c0d1adc04a1117c7a80719800 (diff)
downloadpw-darwin-4573132fd44c8bd71211a975ed21e9acbb58ca45.tar.gz
pw-darwin-4573132fd44c8bd71211a975ed21e9acbb58ca45.tar.zst
pw-darwin-4573132fd44c8bd71211a975ed21e9acbb58ca45.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)