diff options
author | Daniel Mack <github@zonque.org> | 2015-11-17 09:36:25 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-11-17 09:36:25 +0100 |
commit | a57246551a0bf4afe200e597daab9c3935eca99f (patch) | |
tree | ba768fa85baf70d53d088cdf8c8e5eb473c06a7e /src/libudev | |
parent | f21bb7537ab7b6b871eac424f72b703851bf9f00 (diff) | |
parent | b4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 (diff) |
Merge pull request #1926 from phomes/include-order-libudev
tree-wide: group include of libudev.h with sd-*
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-device-private.c | 3 | ||||
-rw-r--r-- | src/libudev/libudev-device.c | 2 | ||||
-rw-r--r-- | src/libudev/libudev-enumerate.c | 2 | ||||
-rw-r--r-- | src/libudev/libudev-monitor.c | 3 | ||||
-rw-r--r-- | src/libudev/libudev-util.c | 3 | ||||
-rw-r--r-- | src/libudev/libudev.c | 3 |
6 files changed, 10 insertions, 6 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c index fa4e3a2b1e..2d3e62410c 100644 --- a/src/libudev/libudev-device-private.c +++ b/src/libudev/libudev-device-private.c @@ -18,10 +18,11 @@ 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 b17ecd870d..814e016800 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -34,6 +34,7 @@ #include <sys/stat.h> #include <unistd.h> +#include "libudev.h" #include "sd-device.h" #include "alloc-util.h" @@ -41,7 +42,6 @@ #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 f15b099ad1..442f9615f2 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 f1ef4ac96f..f870eba9eb 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -28,12 +28,13 @@ #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-util.c b/src/libudev/libudev-util.c index 4a75980b1f..574cfeac85 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -24,10 +24,11 @@ #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 3f76dd8171..63fb05547d 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -24,10 +24,11 @@ #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" |