summaryrefslogtreecommitdiff
path: root/usr.sbin/autofs
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/autofs
parent33291485ae6572b3a460516bf2c86f0eaae41381 (diff)
downloadsrc-test-592d6e850a6b45673e40043e0603238db8ed5b16.tar.gz
src-test-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/autofs')
-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
5 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/autofs/automount.c b/usr.sbin/autofs/automount.c
index ce5d8614b1303..c87d6c01510f6 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 2c9b1a9faf983..44eda6922dd15 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 b85f3ca453e06..02971cf724183 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 eae118fae6215..584c10b469619 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 eaaea280d8362..f94b92d0de977 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;