diff options
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-device-private.c | 1 | ||||
-rw-r--r-- | src/libudev/libudev-enumerate.c | 2 | ||||
-rw-r--r-- | src/libudev/libudev-list.c | 3 | ||||
-rw-r--r-- | src/libudev/libudev-monitor.c | 4 | ||||
-rw-r--r-- | src/libudev/libudev-queue.c | 5 | ||||
-rw-r--r-- | src/libudev/libudev-util.c | 8 | ||||
-rw-r--r-- | src/libudev/libudev.c | 3 | ||||
-rw-r--r-- | src/libudev/libudev.h | 1 |
8 files changed, 0 insertions, 27 deletions
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/libudev-device-private.c index fb4c6e2940..15d3b231c3 100644 --- a/src/libudev/libudev-device-private.c +++ b/src/libudev/libudev-device-private.c @@ -17,7 +17,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <stdlib.h> #include <stdio.h> #include <string.h> #include <stddef.h> diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c index 1a880c2a34..4e6e47cdeb 100644 --- a/src/libudev/libudev-enumerate.c +++ b/src/libudev/libudev-enumerate.c @@ -20,14 +20,12 @@ #include <stdio.h> #include <stdlib.h> #include <stddef.h> -#include <unistd.h> #include <errno.h> #include <string.h> #include <dirent.h> #include <fnmatch.h> #include <stdbool.h> #include <sys/stat.h> -#include <sys/param.h> #include "libudev.h" #include "libudev-private.h" diff --git a/src/libudev/libudev-list.c b/src/libudev/libudev-list.c index 42fcb853c7..044ee3a0cb 100644 --- a/src/libudev/libudev-list.c +++ b/src/libudev/libudev-list.c @@ -17,14 +17,11 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <stdio.h> #include <stdlib.h> #include <stddef.h> -#include <unistd.h> #include <errno.h> #include <string.h> -#include "libudev.h" #include "libudev-private.h" /** diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index 3f1fee7f7e..eb7b6f87b2 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -23,12 +23,8 @@ #include <unistd.h> #include <errno.h> #include <string.h> -#include <dirent.h> #include <poll.h> -#include <sys/stat.h> #include <sys/socket.h> -#include <sys/un.h> -#include <arpa/inet.h> #include <linux/netlink.h> #include <linux/filter.h> diff --git a/src/libudev/libudev-queue.c b/src/libudev/libudev-queue.c index 8ef1f3d4b0..11e15d13e6 100644 --- a/src/libudev/libudev-queue.c +++ b/src/libudev/libudev-queue.c @@ -18,17 +18,12 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <unistd.h> #include <errno.h> -#include <string.h> -#include <limits.h> -#include <sys/stat.h> #include <sys/inotify.h> -#include "libudev.h" #include "libudev-private.h" /** diff --git a/src/libudev/libudev-util.c b/src/libudev/libudev-util.c index 291829e6d8..0f8f634ca3 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -17,20 +17,12 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <unistd.h> #include <errno.h> #include <string.h> -#include <dirent.h> #include <ctype.h> -#include <fcntl.h> -#include <time.h> -#include <pwd.h> -#include <grp.h> -#include <sys/stat.h> -#include <sys/param.h> #include "device-nodes.h" #include "libudev.h" diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c index 8785f22071..ec15d2576b 100644 --- a/src/libudev/libudev.c +++ b/src/libudev/libudev.c @@ -21,11 +21,8 @@ #include <stdlib.h> #include <stddef.h> #include <stdarg.h> -#include <unistd.h> -#include <errno.h> #include <string.h> #include <ctype.h> -#include <time.h> #include "libudev.h" #include "libudev-private.h" diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h index a94505c09e..eb58740d26 100644 --- a/src/libudev/libudev.h +++ b/src/libudev/libudev.h @@ -22,7 +22,6 @@ #include <stdarg.h> #include <sys/types.h> -#include <sys/stat.h> #ifdef __cplusplus extern "C" { |