summaryrefslogtreecommitdiff
path: root/src/core/automount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-25 13:14:12 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-25 13:19:18 +0100
commit3ffd4af22052963e7a29431721ee204e634bea75 (patch)
treefe60142dfddd37cfc02b7a135542107e772b36c3 /src/core/automount.c
parent04c0136989b7eb896bfb0fb176e11233d69e1453 (diff)
util-lib: split out fd-related operations into fd-util.[ch]
There are more than enough to deserve their own .c file, hence move them over.
Diffstat (limited to 'src/core/automount.c')
-rw-r--r--src/core/automount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 1995bb8b7d..c25038ca50 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -30,9 +30,11 @@
#include <unistd.h>
#include "async.h"
+#include "automount.h"
#include "bus-error.h"
#include "bus-util.h"
#include "dbus-automount.h"
+#include "fd-util.h"
#include "formats-util.h"
#include "label.h"
#include "mkdir.h"
@@ -43,7 +45,6 @@
#include "string-util.h"
#include "unit-name.h"
#include "unit.h"
-#include "automount.h"
static const UnitActiveState state_translation_table[_AUTOMOUNT_STATE_MAX] = {
[AUTOMOUNT_DEAD] = UNIT_INACTIVE,