diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-05-10 23:01:00 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-05-10 23:01:00 +0200 |
commit | 6721f5c4220d4d46c18b8d86c2195ff439a74155 (patch) | |
tree | ccbc79cbcfed08d5da11bc953db81bcd66403235 | |
parent | d50bd20d0a95a87f4308bdd908f3d54aa0a01a5f (diff) |
typo
Change-Id: Ida51275f75608e0b146a86d49bdb0e4b9c325fc0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-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, ...); |