tree-wide: sort includes

Sort the includes accoding to the new coding style.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-11-16 22:09:36 +01:00
parent ab5dfda78f
commit cf0fbc49e6
205 changed files with 345 additions and 363 deletions
+1 -2
View File
@@ -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;
+1 -1
View File
@@ -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"
/**
+1 -1
View File
@@ -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
+1 -2
View File
@@ -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"
+3 -3
View File
@@ -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"
+1 -2
View File
@@ -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"
+1 -2
View File
@@ -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"