summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-17 09:36:25 +0100
committerDaniel Mack <github@zonque.org>2015-11-17 09:36:25 +0100
commita57246551a0bf4afe200e597daab9c3935eca99f (patch)
treeba768fa85baf70d53d088cdf8c8e5eb473c06a7e /src/core
parentf21bb7537ab7b6b871eac424f72b703851bf9f00 (diff)
parentb4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 (diff)
Merge pull request #1926 from phomes/include-order-libudev
tree-wide: group include of libudev.h with sd-*
Diffstat (limited to 'src/core')
-rw-r--r--src/core/device.c3
-rw-r--r--src/core/swap.c3
-rw-r--r--src/core/umount.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 5b7130ba97..bcd4d1146b 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -22,10 +22,11 @@
#include <errno.h>
#include <sys/epoll.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "dbus-device.h"
#include "device.h"
-#include "libudev.h"
#include "log.h"
#include "parse-util.h"
#include "path-util.h"
diff --git a/src/core/swap.c b/src/core/swap.c
index f9e1ebad49..ee0838e676 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -24,6 +24,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "dbus-swap.h"
#include "escape.h"
@@ -31,7 +33,6 @@
#include "fd-util.h"
#include "formats-util.h"
#include "fstab-util.h"
-#include "libudev.h"
#include "parse-util.h"
#include "path-util.h"
#include "process-util.h"
diff --git a/src/core/umount.c b/src/core/umount.c
index 954e50528d..9d1f7660db 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -27,11 +27,12 @@
#include <sys/mount.h>
#include <sys/swap.h>
+#include "libudev.h"
+
#include "alloc-util.h"
#include "escape.h"
#include "fd-util.h"
#include "fstab-util.h"
-#include "libudev.h"
#include "list.h"
#include "mount-setup.h"
#include "path-util.h"