summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-01-24 18:11:36 +0000
committertrasz <trasz@FreeBSD.org>2016-01-24 18:11:36 +0000
commitefed0a73779d66aaca7ff18c7dd2f5c56edab5f9 (patch)
tree3eabf9a0d00a4a3616cc3e55e6f111395f1e48e2 /usr.sbin
parent11bea4ed8b62f91b395fcec89287e2540fdeb720 (diff)
downloadFreeBSD-src-efed0a73779d66aaca7ff18c7dd2f5c56edab5f9.zip
FreeBSD-src-efed0a73779d66aaca7ff18c7dd2f5c56edab5f9.tar.gz
The <libutil.h> is an ordinary header file; should sort just like any other.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
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 ce5d861..c87d6c0 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 2c9b1a9..44eda69 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 b85f3ca..02971cf 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 eae118f..584c10b 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 eaaea28..f94b92d 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 c1c8b1b..72828ef 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;
OpenPOWER on IntegriCloud