aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afm-binding.c1
-rw-r--r--src/afm-user-daemon.c3
-rw-r--r--src/afm.h22
3 files changed, 2 insertions, 24 deletions
diff --git a/src/afm-binding.c b/src/afm-binding.c
index 032e28f..508f6de 100644
--- a/src/afm-binding.c
+++ b/src/afm-binding.c
@@ -27,7 +27,6 @@
#include "verbose.h"
#include "utils-systemd.h"
-#include "afm.h"
#include "afm-udb.h"
#include "afm-urun.h"
#include "wgt-info.h"
diff --git a/src/afm-user-daemon.c b/src/afm-user-daemon.c
index aa5ed83..c06b839 100644
--- a/src/afm-user-daemon.c
+++ b/src/afm-user-daemon.c
@@ -30,11 +30,12 @@
#include <afb/afb-ws-client.h>
#include <afb/afb-proto-ws.h>
-#include "afm.h"
#include "verbose.h"
#include "utils-jbus.h"
#include "utils-json.h"
+#define AFM_USER_DBUS_PATH "/org/AGL/afm/user"
+
/*
* name of the application
*/
diff --git a/src/afm.h b/src/afm.h
deleted file mode 100644
index 3f75634..0000000
--- a/src/afm.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- Copyright 2015, 2016, 2017 IoT.bzh
-
- author: José Bollo <jose.bollo@iot.bzh>
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-*/
-
-#define AFM_DBUS_PATH "/org/AGL/afm"
-#define AFM_SYSTEM_DBUS_PATH AFM_DBUS_PATH"/system"
-#define AFM_USER_DBUS_PATH AFM_DBUS_PATH"/user"
-