aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-01-24 18:11:36 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-01-24 18:11:36 +0000
commit592d6e850a6b45673e40043e0603238db8ed5b16 (patch)
tree3eabf9a0d00a4a3616cc3e55e6f111395f1e48e2 /usr.sbin
parent33291485ae6572b3a460516bf2c86f0eaae41381 (diff)
downloadsrc-592d6e850a6b45673e40043e0603238db8ed5b16.tar.gz
src-592d6e850a6b45673e40043e0603238db8ed5b16.zip
The <libutil.h> is an ordinary header file; should sort just like any other.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=294670
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/autofs/automount.c3
-rw-r--r--usr.sbin/autofs/automountd.c3
-rw-r--r--usr.sbin/autofs/autounmountd.c2
-rw-r--r--usr.sbin/autofs/common.c3
-rw-r--r--usr.sbin/autofs/defined.c3
-rw-r--r--usr.sbin/iscsid/iscsid.c3
6 files changed, 6 insertions, 11 deletions
diff --git a/usr.sbin/autofs/automount.c b/usr.sbin/autofs/automount.c
index ce5d8614b130..c87d6c01510f 100644
--- a/usr.sbin/autofs/automount.c
+++ b/usr.sbin/autofs/automount.c
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
+#include <libutil.h>
#include <netdb.h>
#include <signal.h>
#include <stdbool.h>
@@ -55,8 +56,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
-
#include "common.h"
#include "mntopts.h"
diff --git a/usr.sbin/autofs/automountd.c b/usr.sbin/autofs/automountd.c
index 2c9b1a9faf98..44eda6922dd1 100644
--- a/usr.sbin/autofs/automountd.c
+++ b/usr.sbin/autofs/automountd.c
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
+#include <libutil.h>
#include <netdb.h>
#include <signal.h>
#include <stdbool.h>
@@ -55,8 +56,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
-
#include "autofs_ioctl.h"
#include "common.h"
diff --git a/usr.sbin/autofs/autounmountd.c b/usr.sbin/autofs/autounmountd.c
index b85f3ca453e0..02971cf72418 100644
--- a/usr.sbin/autofs/autounmountd.c
+++ b/usr.sbin/autofs/autounmountd.c
@@ -37,13 +37,13 @@ __FBSDID("$FreeBSD$");
#include <sys/time.h>
#include <assert.h>
#include <errno.h>
+#include <libutil.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
#include "common.h"
diff --git a/usr.sbin/autofs/common.c b/usr.sbin/autofs/common.c
index eae118fae621..584c10b46961 100644
--- a/usr.sbin/autofs/common.c
+++ b/usr.sbin/autofs/common.c
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
+#include <libutil.h>
#include <netdb.h>
#include <paths.h>
#include <signal.h>
@@ -58,8 +59,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
-
#include "autofs_ioctl.h"
#include "common.h"
diff --git a/usr.sbin/autofs/defined.c b/usr.sbin/autofs/defined.c
index eaaea280d836..f94b92d0de97 100644
--- a/usr.sbin/autofs/defined.c
+++ b/usr.sbin/autofs/defined.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
+#include <libutil.h>
#include <netdb.h>
#include <signal.h>
#include <stdbool.h>
@@ -60,8 +61,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
-
#include "common.h"
static TAILQ_HEAD(, defined_value) defined_values;
diff --git a/usr.sbin/iscsid/iscsid.c b/usr.sbin/iscsid/iscsid.c
index c1c8b1b3a7cd..72828ef572b6 100644
--- a/usr.sbin/iscsid/iscsid.c
+++ b/usr.sbin/iscsid/iscsid.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
+#include <libutil.h>
#include <netdb.h>
#include <signal.h>
#include <stdbool.h>
@@ -51,8 +52,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
-#include <libutil.h>
-
#include "iscsid.h"
static volatile bool sigalrm_received = false;