summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-08-16 09:14:53 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-08-16 09:14:53 -0700
commit7de48d7f6641d440f631d1b6d4c79ae480874f99 (patch)
treebd8fb499b116403fb0b59ad02f42907a08427818 /include
parent5892ad20eb6104f4e2216cf82a6eaab2bd0b3682 (diff)
downloadconnman-7de48d7f6641d440f631d1b6d4c79ae480874f99.tar.gz
connman-7de48d7f6641d440f631d1b6d4c79ae480874f99.tar.bz2
connman-7de48d7f6641d440f631d1b6d4c79ae480874f99.zip
plugin: Use weak reference for external debug statements
Diffstat (limited to 'include')
-rw-r--r--include/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plugin.h b/include/plugin.h
index 74ac4c2a..692a4e59 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -89,9 +89,9 @@ struct connman_plugin_desc {
#else
#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \
extern struct connman_debug_desc __start___debug[] \
- __attribute__ ((visibility("hidden"))); \
+ __attribute__ ((weak, visibility("hidden"))); \
extern struct connman_debug_desc __stop___debug[] \
- __attribute__ ((visibility("hidden"))); \
+ __attribute__ ((weak, visibility("hidden"))); \
extern struct connman_plugin_desc connman_plugin_desc \
__attribute__ ((visibility("default"))); \
struct connman_plugin_desc connman_plugin_desc = { \