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/timesync/timesyncd-conf.c | 1 - src/timesync/timesyncd-manager.c | 11 ----------- src/timesync/timesyncd-manager.h | 1 - src/timesync/timesyncd.c | 1 - 4 files changed, 14 deletions(-) (limited to 'src/timesync') diff --git a/src/timesync/timesyncd-conf.c b/src/timesync/timesyncd-conf.c index be1f4bb151..df4d89a620 100644 --- a/src/timesync/timesyncd-conf.c +++ b/src/timesync/timesyncd-conf.c @@ -19,7 +19,6 @@ along with systemd; If not, see . ***/ -#include "in-addr-util.h" #include "timesyncd-manager.h" #include "timesyncd-server.h" diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index 73ac7eecbf..a9e91c4d60 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -21,21 +21,15 @@ #include #include -#include -#include -#include #include #include -#include #include #include #include #include #include #include -#include #include -#include #include "missing.h" #include "util.h" @@ -45,13 +39,8 @@ #include "list.h" #include "ratelimit.h" #include "strv.h" -#include "conf-parser.h" #include "sd-daemon.h" -#include "event-util.h" #include "network-util.h" -#include "clock-util.h" -#include "capability.h" -#include "mkdir.h" #include "timesyncd-conf.h" #include "timesyncd-manager.h" #include "time-util.h" diff --git a/src/timesync/timesyncd-manager.h b/src/timesync/timesyncd-manager.h index c7efdc5dfb..b1a844ba76 100644 --- a/src/timesync/timesyncd-manager.h +++ b/src/timesync/timesyncd-manager.h @@ -25,7 +25,6 @@ #include "sd-resolve.h" #include "sd-network.h" #include "list.h" -#include "socket-util.h" #include "ratelimit.h" typedef struct Manager Manager; diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c index 2a73dac033..735668bede 100644 --- a/src/timesync/timesyncd.c +++ b/src/timesync/timesyncd.c @@ -21,7 +21,6 @@ #include "sd-event.h" #include "sd-daemon.h" -#include "mkdir.h" #include "capability.h" #include "clock-util.h" #include "network-util.h" -- cgit v1.2.3-54-g00ecf