diff options
-rw-r--r-- | src/afb-common.c | 2 | ||||
-rw-r--r-- | src/verbose.c | 1 | ||||
-rw-r--r-- | src/verbose.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/afb-common.c b/src/afb-common.c index e8fe4b72..e3d48d51 100644 --- a/src/afb-common.c +++ b/src/afb-common.c @@ -69,7 +69,7 @@ static struct sd_bus *sdbusopen(struct sd_bus **p, int (*f)(struct sd_bus **)) struct sd_event *afb_common_get_event_loop() { - static sd_event *result = NULL; + static struct sd_event *result = NULL; return sdopen((void*)&result, (void*)sd_event_new); } diff --git a/src/verbose.c b/src/verbose.c index 29d2a9e6..3f971ce3 100644 --- a/src/verbose.c +++ b/src/verbose.c @@ -18,6 +18,7 @@ #include <stdio.h> #include <stdarg.h> + #include "verbose.h" int verbosity = 1; diff --git a/src/verbose.h b/src/verbose.h index 106df0f8..c5feb87b 100644 --- a/src/verbose.h +++ b/src/verbose.h @@ -18,8 +18,6 @@ #pragma once -#include <systemd/sd-daemon.h> - extern int verbosity; extern void verbose(int level, const char *file, int line, const char *fmt, ...); |