summaryrefslogtreecommitdiff
path: root/src/libudev
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/libudev-device-private.c3
-rw-r--r--src/libudev/libudev-device.c2
-rw-r--r--src/libudev/libudev-enumerate.c2
-rw-r--r--src/libudev/libudev-monitor.c3
-rw-r--r--src/libudev/libudev-queue.c6
-rw-r--r--src/libudev/libudev-util.c3
-rw-r--r--src/libudev/libudev.c3
7 files changed, 9 insertions, 13 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c
index 2d3e62410c..fa4e3a2b1e 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/libudev-device-private.c
@@ -18,11 +18,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "libudev.h"
-
#include "device-private.h"
#include "libudev-device-internal.h"
#include "libudev-private.h"
+#include "libudev.h"
int udev_device_tag_index(struct udev_device *udev_device, struct udev_device *udev_device_old, bool add) {
sd_device *device_old = NULL;
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
index 814e016800..b17ecd870d 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/libudev-device.c
@@ -34,7 +34,6 @@
#include <sys/stat.h>
#include <unistd.h>
-#include "libudev.h"
#include "sd-device.h"
#include "alloc-util.h"
@@ -42,6 +41,7 @@
#include "device-util.h"
#include "libudev-device-internal.h"
#include "libudev-private.h"
+#include "libudev.h"
#include "parse-util.h"
/**
diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c
index 442f9615f2..f15b099ad1 100644
--- a/src/libudev/libudev-enumerate.c
+++ b/src/libudev/libudev-enumerate.c
@@ -28,13 +28,13 @@
#include <string.h>
#include <sys/stat.h>
-#include "libudev.h"
#include "sd-device.h"
#include "alloc-util.h"
#include "device-enumerator-private.h"
#include "device-util.h"
#include "libudev-device-internal.h"
+#include "libudev.h"
/**
* SECTION:libudev-enumerate
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c
index f870eba9eb..f1ef4ac96f 100644
--- a/src/libudev/libudev-monitor.c
+++ b/src/libudev/libudev-monitor.c
@@ -28,13 +28,12 @@
#include <sys/socket.h>
#include <unistd.h>
-#include "libudev.h"
-
#include "alloc-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "formats-util.h"
#include "libudev-private.h"
+#include "libudev.h"
#include "missing.h"
#include "mount-util.h"
#include "socket-util.h"
diff --git a/src/libudev/libudev-queue.c b/src/libudev/libudev-queue.c
index 58410b1b8f..e3dffa6925 100644
--- a/src/libudev/libudev-queue.c
+++ b/src/libudev/libudev-queue.c
@@ -18,11 +18,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <stdlib.h>
-#include <stddef.h>
-#include <unistd.h>
#include <errno.h>
+#include <stddef.h>
+#include <stdlib.h>
#include <sys/inotify.h>
+#include <unistd.h>
#include "alloc-util.h"
#include "fd-util.h"
diff --git a/src/libudev/libudev-util.c b/src/libudev/libudev-util.c
index 574cfeac85..4a75980b1f 100644
--- a/src/libudev/libudev-util.c
+++ b/src/libudev/libudev-util.c
@@ -24,11 +24,10 @@
#include <string.h>
#include <unistd.h>
-#include "libudev.h"
-
#include "MurmurHash2.h"
#include "device-nodes.h"
#include "libudev-private.h"
+#include "libudev.h"
#include "syslog-util.h"
#include "utf8.h"
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
index 63fb05547d..3f76dd8171 100644
--- a/src/libudev/libudev.c
+++ b/src/libudev/libudev.c
@@ -24,11 +24,10 @@
#include <stdlib.h>
#include <string.h>
-#include "libudev.h"
-
#include "alloc-util.h"
#include "fd-util.h"
#include "libudev-private.h"
+#include "libudev.h"
#include "missing.h"
#include "string-util.h"