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:
@@ -21,12 +21,9 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
#include <sys/timex.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user