diff options
Diffstat (limited to 'src/bus-proxyd/bus-proxyd.c')
-rw-r--r-- | src/bus-proxyd/bus-proxyd.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index b6b0056362..3e398b53e9 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -23,13 +23,9 @@ ***/ #include <sys/socket.h> -#include <sys/un.h> -#include <sys/types.h> -#include <fcntl.h> #include <unistd.h> #include <string.h> #include <errno.h> -#include <poll.h> #include <sys/prctl.h> #include <stddef.h> #include <getopt.h> @@ -37,24 +33,15 @@ #include "log.h" #include "util.h" -#include "hashmap.h" -#include "socket-util.h" #include "sd-daemon.h" -#include "sd-bus.h" #include "bus-internal.h" -#include "bus-message.h" -#include "bus-util.h" #include "build.h" #include "strv.h" #include "def.h" #include "capability.h" -#include "bus-control.h" -#include "smack-util.h" -#include "set.h" #include "bus-xml-policy.h" -#include "driver.h" #include "proxy.h" -#include "synthesize.h" +#include "formats-util.h" static char *arg_address = NULL; static char **arg_configuration = NULL; @@ -82,7 +69,7 @@ static int client_context_new(ClientContext **out) { c = new0(ClientContext, 1); if (!c) - return log_oom(); + return -ENOMEM; c->fd = -1; |