summaryrefslogtreecommitdiffstats
path: root/src/afb-api-dbus.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-21 11:38:59 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-21 11:38:59 +0100
commitb182590a555afe093d2d6e5cdf3e1e2410d1a0f5 (patch)
treefa423cca01de124da4ddfda6d2bae96c367685b9 /src/afb-api-dbus.c
parent587d83da1a6efd68ff45e308dd9691a00fc53fba (diff)
afb-systemd: Isolate systemd main entries
This change prepares the possibilty to remove the dependency to systemd/libsystemd. Change-Id: Ife4181d6c7195230a11a32e527b8973af6a096e1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-dbus.c')
-rw-r--r--src/afb-api-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c
index ad640fb2..eeadb9cf 100644
--- a/src/afb-api-dbus.c
+++ b/src/afb-api-dbus.c
@@ -29,7 +29,7 @@
#include <afb/afb-event.h>
-#include "afb-common.h"
+#include "afb-systemd.h"
#include "afb-session.h"
#include "afb-msg-json.h"
@@ -128,7 +128,7 @@ static struct api_dbus *make_api_dbus_3(int system, const char *path, size_t pat
}
/* choose the bus */
- sdbus = (system ? afb_common_get_system_bus : afb_common_get_user_bus)();
+ sdbus = (system ? afb_systemd_get_system_bus : afb_systemd_get_user_bus)();
if (sdbus == NULL)
goto error2;