]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Remove duplicate includes
authorKarel Zak <kzak@redhat.com>
Mon, 18 Nov 2013 13:48:16 +0000 (14:48 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Nov 2013 01:28:55 +0000 (20:28 -0500)
12 files changed:
src/backlight/backlight.c
src/core/shutdown.c
src/journal/journalctl.c
src/libudev/libudev-device-private.c
src/login/logind-inhibit.c
src/nss-myhostname/netlink.c
src/shared/label.c
src/shared/util.c
src/sysctl/sysctl.c
src/systemctl/systemctl.c
src/udev/mtd_probe/probe_smartmedia.c
src/udev/v4l_id/v4l_id.c

index 9ec29f79a40197af00b629f1cad902a2d9b8eeba..bf767038ee9f63f46b5b5ddb172b503441a3ca39 100644 (file)
@@ -24,7 +24,6 @@
 #include "fileio.h"
 #include "libudev.h"
 #include "udev-util.h"
-#include "util.h"
 
 static struct udev_device *find_pci_or_platform_parent(struct udev_device *device) {
         struct udev_device *parent;
index b5eb8b12de2752350cf0c164a81b98882f50fd3d..bcf2eecf33ad0bd74d4e402907c61b58856f62ec 100644 (file)
@@ -24,7 +24,6 @@
 #include <sys/reboot.h>
 #include <linux/reboot.h>
 #include <sys/wait.h>
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mount.h>
 #include <sys/syscall.h>
index a5091042d4b48899fd19d055258bf211f3d9a1c7..c44be745b861568f68a00391ec7ac19f602d4cdd 100644 (file)
@@ -48,7 +48,6 @@
 #include "fileio.h"
 #include "build.h"
 #include "pager.h"
-#include "logs-show.h"
 #include "strv.h"
 #include "journal-internal.h"
 #include "journal-def.h"
index cba08d2f65ba02397d75158a78c5f866133e1dcd..cb4947ff3b358e90db1c34571ba0fdf69692a919 100644 (file)
@@ -24,7 +24,6 @@
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <string.h>
 #include <sys/stat.h>
 
 #include "libudev.h"
index 3bc4642071dc09745f8560b7206c6634479bc88b..26cce8d7fcdd3defe57729421a6aa7de340a78e3 100644 (file)
@@ -22,7 +22,6 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <string.h>
-#include <errno.h>
 #include <unistd.h>
 
 #include "util.h"
index 47a41f55e6b060a8c9894243a9d3955b0cb9771e..d61ecdfd40f5e0e2d7e5b40b8d50023a647a131b 100644 (file)
@@ -31,7 +31,6 @@
 #include <limits.h>
 #include <arpa/inet.h>
 #include <unistd.h>
-#include <inttypes.h>
 #include <stdlib.h>
 
 #include "ifconf.h"
index 5c7cc1c906e1082e06d7ac58a170ec685d82dc92..4a26ba9c5d1393a5a14d6981980473a6e2f5db9e 100644 (file)
@@ -20,7 +20,6 @@
 ***/
 
 #include <errno.h>
-#include <sys/stat.h>
 #include <unistd.h>
 #include <malloc.h>
 #include <sys/socket.h>
index b77d010d2d5801a60da5e1492c5acadf6b2ae00b..deb74c4655be8678fc2ad8b807df78f8ea50ccde 100644 (file)
@@ -41,7 +41,6 @@
 #include <stdarg.h>
 #include <sys/inotify.h>
 #include <sys/poll.h>
-#include <libgen.h>
 #include <ctype.h>
 #include <sys/prctl.h>
 #include <sys/utsname.h>
index 67c787225c3180861b8f7389b978dc825e86ec19..449e0cadd530bb26e507c3ad9b947a3cc8e2755f 100644 (file)
@@ -30,7 +30,6 @@
 #include "log.h"
 #include "strv.h"
 #include "util.h"
-#include "strv.h"
 #include "hashmap.h"
 #include "path-util.h"
 #include "conf-files.h"
index 2362f43a2fcfb08c9cbef1bc90bbd69a1d036636..2e1863675f7f3ce3b58ebdb17bd5a0f02f3885bc 100644 (file)
@@ -65,7 +65,6 @@
 #include "spawn-polkit-agent.h"
 #include "install.h"
 #include "logs-show.h"
-#include "path-util.h"
 #include "socket-util.h"
 #include "fileio.h"
 #include "bus-util.h"
index feadb5076c6d7d3d130a3e03ee202d194c77ff46..a007ccee2fca0e5be7e090acd22b99c5c588d823 100644 (file)
@@ -26,7 +26,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <stdint.h>
-#include <stdlib.h>
 #include "mtd_probe.h"
 
 static const uint8_t cis_signature[] = {
index 8dcb645ed9f1b7d3c3b81334a2e4c943f7a761e2..d5463b27e51ffe861fa7c385ee99b75dd6b8715f 100644 (file)
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <getopt.h>
 #include <sys/types.h>