diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-14 09:44:31 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-23 23:53:42 +0100 |
commit | 2eec67acbb00593e414549a7e5b35eb7dd776b1b (patch) | |
tree | c692391dddfa88d938a29ea238a9e1a95da879fc /src/locale | |
parent | 4aab5d0cbd979b2cccb88534f118bceaa86466d8 (diff) |
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.
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/localectl.c | 6 | ||||
-rw-r--r-- | src/locale/localed.c | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 41a88a828c..515fca540a 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -23,25 +23,19 @@ #include <locale.h> #include <stdlib.h> #include <stdbool.h> -#include <unistd.h> #include <getopt.h> #include <string.h> #include <ftw.h> -#include <sys/mman.h> -#include <fcntl.h> #include "sd-bus.h" #include "bus-util.h" #include "bus-error.h" -#include "bus-message.h" #include "util.h" #include "spawn-polkit-agent.h" #include "build.h" #include "strv.h" #include "pager.h" #include "set.h" -#include "path-util.h" -#include "utf8.h" #include "def.h" #include "virt.h" #include "fileio.h" diff --git a/src/locale/localed.c b/src/locale/localed.c index 5119fcd9b6..1fb8cdc341 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -33,7 +33,6 @@ #include "env-util.h" #include "fileio.h" #include "fileio-label.h" -#include "label.h" #include "bus-util.h" #include "bus-error.h" #include "bus-message.h" |