aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/autofs
diff options
context:
space:
mode:
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 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;