From 0894e1da9104963958847b0ad65d64425ceec031 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Fri, 8 Dec 2017 10:44:43 +0100 Subject: [PATCH] Remove deprecated file afm.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ie524342b69d386c2d6f667dde7cde0d68a0d29c8 Signed-off-by: José Bollo --- src/afm-binding.c | 1 - src/afm-user-daemon.c | 3 ++- src/afm.h | 22 ---------------------- 3 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 src/afm.h 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 #include -#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 - - 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" - -- 2.16.6