aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-dbus.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-02-14 10:15:40 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:18:29 +0100
commit7b9fa0ade3a8847c779f46fe50c97eed86917abc (patch)
treed8fc6bfc67360c2e434896da5d3774758801d82b /src/afb-api-dbus.c
parentfc5a7fe1dd3c8a23860d53f50e4e54d139ae4746 (diff)
Rename afb-systemd to systemd
Files "afb-systemd.[ch]" are renamed "systemd.[ch]" and their functions "afb_systemd_*" are renamed "systemd_*" Change-Id: I8362a2ca8b71945b54c6ab9a7ead51d9c50bc8e2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-dbus.c')
-rw-r--r--src/afb-api-dbus.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c
index f4132946..8c55ed01 100644
--- a/src/afb-api-dbus.c
+++ b/src/afb-api-dbus.c
@@ -33,8 +33,6 @@
#include <afb/afb-event-x2.h>
-#include "afb-systemd.h"
-
#include "afb-session.h"
#include "afb-msg-json.h"
#include "afb-api.h"
@@ -44,8 +42,9 @@
#include "afb-cred.h"
#include "afb-evt.h"
#include "afb-xreq.h"
-#include "verbose.h"
+#include "verbose.h"
+#include "systemd.h"
static const char DEFAULT_PATH_PREFIX[] = "/org/agl/afb/api/";
@@ -130,7 +129,7 @@ static struct api_dbus *make_api_dbus_3(int system, const char *path, size_t pat
}
/* choose the bus */
- sdbus = (system ? afb_systemd_get_system_bus : afb_systemd_get_user_bus)();
+ sdbus = (system ? systemd_get_system_bus : systemd_get_user_bus)();
if (sdbus == NULL)
goto error2;