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.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-02-23 23:53:42 +01:00
parent 4aab5d0cbd
commit 2eec67acbb
479 changed files with 11 additions and 1286 deletions
-6
View File
@@ -22,21 +22,16 @@
#include <sys/reboot.h>
#include <linux/reboot.h>
#include <sys/syscall.h>
#include <stdio.h>
#include <getopt.h>
#include <locale.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <stddef.h>
#include <sys/prctl.h>
#include "sd-daemon.h"
#include "sd-shutdown.h"
@@ -55,7 +50,6 @@
#include "cgroup-util.h"
#include "list.h"
#include "path-lookup.h"
#include "conf-parser.h"
#include "exit-status.h"
#include "build.h"
#include "unit-name.h"