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:
@@ -22,11 +22,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
#include <sys/timex.h>
|
||||
|
||||
#include "sd-bus.h"
|
||||
#include "bus-util.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "sd-id128.h"
|
||||
#include "sd-messages.h"
|
||||
#include "sd-event.h"
|
||||
#include "sd-bus.h"
|
||||
@@ -32,10 +31,8 @@
|
||||
#include "strv.h"
|
||||
#include "def.h"
|
||||
#include "clock-util.h"
|
||||
#include "conf-files.h"
|
||||
#include "path-util.h"
|
||||
#include "fileio-label.h"
|
||||
#include "label.h"
|
||||
#include "bus-util.h"
|
||||
#include "bus-error.h"
|
||||
#include "bus-common-errors.h"
|
||||
|
||||
Reference in New Issue
Block a user