From 2eec67acbb00593e414549a7e5b35eb7dd776b1b Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sat, 14 Feb 2015 09:44:31 +0100 Subject: remove unused includes This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. --- src/libsystemd/sd-network/network-util.h | 1 - src/libsystemd/sd-network/sd-network.c | 3 --- 2 files changed, 4 deletions(-) (limited to 'src/libsystemd/sd-network') diff --git a/src/libsystemd/sd-network/network-util.h b/src/libsystemd/sd-network/network-util.h index 02bd545526..11a0012348 100644 --- a/src/libsystemd/sd-network/network-util.h +++ b/src/libsystemd/sd-network/network-util.h @@ -21,7 +21,6 @@ along with systemd; If not, see . ***/ -#include "util.h" #include "sd-network.h" DEFINE_TRIVIAL_CLEANUP_FUNC(sd_network_monitor*, sd_network_monitor_unref); diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c index c4713feb5d..297fdac80d 100644 --- a/src/libsystemd/sd-network/sd-network.c +++ b/src/libsystemd/sd-network/sd-network.c @@ -20,19 +20,16 @@ along with systemd; If not, see . ***/ -#include #include #include #include #include -#include #include "util.h" #include "macro.h" #include "strv.h" #include "fileio.h" #include "sd-network.h" -#include "network-internal.h" _public_ int sd_network_get_operational_state(char **state) { _cleanup_free_ char *s = NULL; -- cgit v1.2.3-54-g00ecf