summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libutil/login_cap.c17
-rw-r--r--libutil/pw_util.c2
2 files changed, 9 insertions, 10 deletions
diff --git a/libutil/login_cap.c b/libutil/login_cap.c
index 7d50128..b719303 100644
--- a/libutil/login_cap.c
+++ b/libutil/login_cap.c
@@ -29,21 +29,20 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <unistd.h>
-
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/param.h>
-#include <pwd.h>
+#include <errno.h>
+#include <fcntl.h>
#include <libutil.h>
-#include <syslog.h>
#include <login_cap.h>
+#include <pwd.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <syslog.h>
+#include <unistd.h>
/*
* allocstr()
diff --git a/libutil/pw_util.c b/libutil/pw_util.c
index a545878..114bf72 100644
--- a/libutil/pw_util.c
+++ b/libutil/pw_util.c
@@ -58,8 +58,8 @@ static const char rcsid[] =
#include <sys/stat.h>
#include <sys/wait.h>
-#include <err.h>
#include <ctype.h>
+#include <err.h>
#include <fcntl.h>
#include <inttypes.h>
#include <libgen.h>