summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2013-11-18 14:48:16 +0100
committerAnthony G. Basile <blueness@gentoo.org>2014-01-09 15:16:47 -0500
commitee8760a00a1c6c3f707596e62583fd98960f2ce8 (patch)
tree6eae81ccfb6ded9eb1355c7003a209111fc3f44d
parentad1d147331b8461e021978243a0c50dfe8e8e3e2 (diff)
Remove duplicate includes
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/libudev/libudev-device-private.c1
-rw-r--r--src/libudev/util.c1
-rw-r--r--src/mtd_probe/probe_smartmedia.c1
-rw-r--r--src/udev/label.c1
-rw-r--r--src/v4l_id/v4l_id.c4
5 files changed, 0 insertions, 8 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c
index cba08d2f65..cb4947ff3b 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/libudev-device-private.c
@@ -24,7 +24,6 @@
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
-#include <string.h>
#include <sys/stat.h>
#include "libudev.h"
diff --git a/src/libudev/util.c b/src/libudev/util.c
index dfe46bcb8c..58377d548f 100644
--- a/src/libudev/util.c
+++ b/src/libudev/util.c
@@ -41,7 +41,6 @@
#include <stdarg.h>
#include <sys/inotify.h>
#include <poll.h>
-#include <libgen.h>
#include <ctype.h>
#include <sys/prctl.h>
#include <sys/utsname.h>
diff --git a/src/mtd_probe/probe_smartmedia.c b/src/mtd_probe/probe_smartmedia.c
index feadb5076c..a007ccee2f 100644
--- a/src/mtd_probe/probe_smartmedia.c
+++ b/src/mtd_probe/probe_smartmedia.c
@@ -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[] = {
diff --git a/src/udev/label.c b/src/udev/label.c
index 1e4d01113a..5698020672 100644
--- a/src/udev/label.c
+++ b/src/udev/label.c
@@ -20,7 +20,6 @@
***/
#include <errno.h>
-#include <sys/stat.h>
#include <unistd.h>
#include <malloc.h>
#include <sys/socket.h>
diff --git a/src/v4l_id/v4l_id.c b/src/v4l_id/v4l_id.c
index 8dcb645ed9..d5463b27e5 100644
--- a/src/v4l_id/v4l_id.c
+++ b/src/v4l_id/v4l_id.c
@@ -18,11 +18,7 @@
#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>