From 574ae8fe5c5edc04a0ed3ca4e5c3d6ff3c76c18f Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Thu, 23 Aug 2018 17:53:13 +0900 Subject: [PATCH] Change header name Signed-off-by: Junghyun Yeon --- include/{capmgr.h => capability-manager.h} | 6 +++--- packaging/capi-appfw-capmgr.spec | 2 +- src/client.cc | 2 +- src/dbus.h | 2 +- tools/capmgr_test.cc | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename include/{capmgr.h => capability-manager.h} (97%) diff --git a/include/capmgr.h b/include/capability-manager.h similarity index 97% rename from include/capmgr.h rename to include/capability-manager.h index daaf3b6..314dc2e 100644 --- a/include/capmgr.h +++ b/include/capability-manager.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a apache 2.0 license that can be // found in the LICENSE file. -#ifndef INCLUDE_CAPMGR_H_ -#define INCLUDE_CAPMGR_H_ +#ifndef INCLUDE_CAPABILITY_MANAGER_H_ +#define INCLUDE_CAPABILITY_MANAGER_H_ #include @@ -255,4 +255,4 @@ int capmgr_package_info_get_version(capmgr_package_info_h remote_package_info, } #endif -#endif // INCLUDE_CAPMGR_H_ +#endif // INCLUDE_CAPABILITY_MANAGER_H_ diff --git a/packaging/capi-appfw-capmgr.spec b/packaging/capi-appfw-capmgr.spec index 4f1a186..b33eae0 100644 --- a/packaging/capi-appfw-capmgr.spec +++ b/packaging/capi-appfw-capmgr.spec @@ -53,6 +53,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %{_bindir}/capmgr-test %files devel -%{_includedir}/capmgr.h +%{_includedir}/capability-manager.h %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so diff --git a/src/client.cc b/src/client.cc index 9254bc5..4d94287 100644 --- a/src/client.cc +++ b/src/client.cc @@ -13,7 +13,7 @@ #include #include -#include "include/capmgr.h" +#include "include/capability-manager.h" #include "src/dbus.h" #include "src/sql_connection.h" #include "src/sql_statement.h" diff --git a/src/dbus.h b/src/dbus.h index 123a5bb..5520488 100644 --- a/src/dbus.h +++ b/src/dbus.h @@ -7,7 +7,7 @@ #include -#include "include/capmgr.h" +#include "include/capability-manager.h" namespace capmgr { diff --git a/tools/capmgr_test.cc b/tools/capmgr_test.cc index 14cd131..76dcb79 100644 --- a/tools/capmgr_test.cc +++ b/tools/capmgr_test.cc @@ -9,7 +9,7 @@ #include -#include "include/capmgr.h" +#include "include/capability-manager.h" namespace bpo = boost::program_options; -- 2.7.4