diff options
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 3fabbb665c..b2dafd731b 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3,15 +3,12 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> -#include <locale.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> -#include <string.h> #include <sys/mount.h> #include <sys/prctl.h> #include <sys/reboot.h> -#include <sys/socket.h> #include <unistd.h> #include "sd-bus.h" @@ -807,7 +804,6 @@ static int expand_names(sd_bus *bus, char **names, const char* suffix, char ***r return 0; } - static int list_units(int argc, char *argv[], void *userdata) { _cleanup_free_ UnitInfo *unit_infos = NULL; _cleanup_(message_set_freep) Set *replies = NULL; |