projects
/
platform
/
core
/
appfw
/
tpk-backend.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3746f7
)
Fix libtpk
98/207298/1
author
Sangyoon Jang
<jeremy.jang@samsung.com>
Mon, 3 Jun 2019 02:31:33 +0000
(11:31 +0900)
committer
Sangyoon Jang
<jeremy.jang@samsung.com>
Mon, 3 Jun 2019 02:31:33 +0000
(11:31 +0900)
Add extern "C" to using at C module.
Change-Id: I1f8479346b22649368d58c2974cdb9113ed7002f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/lib/tpk_pkgmgr.cc
patch
|
blob
|
history
diff --git
a/src/lib/tpk_pkgmgr.cc
b/src/lib/tpk_pkgmgr.cc
index 44a673f5b83f3f3e5be725184500070b0639f6f5..021956448df113a48ea82cf20f1dc135743be7ce 100644
(file)
--- a/
src/lib/tpk_pkgmgr.cc
+++ b/
src/lib/tpk_pkgmgr.cc
@@
-20,7
+20,7
@@
void PluginOnUnload() {
} // namespace
-int pkg_plugin_on_load(pkg_plugin_set* set) {
+
extern "C"
int pkg_plugin_on_load(pkg_plugin_set* set) {
if (set == nullptr)
return -1;
set->plugin_on_unload = PluginOnUnload;