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/hostname/hostnamectl.c | 7 ------- src/hostname/hostnamed.c | 1 - 2 files changed, 8 deletions(-) (limited to 'src/hostname') diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c index de4ce7ede6..5218b41b41 100644 --- a/src/hostname/hostnamectl.c +++ b/src/hostname/hostnamectl.c @@ -21,12 +21,9 @@ #include #include -#include #include #include #include -#include -#include #include "sd-bus.h" @@ -35,12 +32,8 @@ #include "util.h" #include "spawn-polkit-agent.h" #include "build.h" -#include "clock-util.h" -#include "strv.h" #include "sd-id128.h" -#include "virt.h" #include "architecture.h" -#include "fileio.h" static bool arg_ask_password = true; static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index ede8185788..77b776fea6 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -30,7 +30,6 @@ #include "virt.h" #include "env-util.h" #include "fileio-label.h" -#include "label.h" #include "bus-util.h" #include "event-util.h" #include "selinux-util.h" -- cgit v1.2.3-54-g00ecf