summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>