typo
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 10 May 2016 21:01:00 +0000 (23:01 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 10 May 2016 21:01:00 +0000 (23:01 +0200)
Change-Id: Ida51275f75608e0b146a86d49bdb0e4b9c325fc0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-common.c
src/verbose.c
src/verbose.h

index e8fe4b7..e3d48d5 100644 (file)
@@ -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);
 }
 
index 29d2a9e..3f971ce 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdarg.h>
+
 #include "verbose.h"
 
 int verbosity = 1;
index 106df0f..c5feb87 100644 (file)
@@ -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, ...);