diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-08-16 09:14:53 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-08-16 09:14:53 -0700 |
commit | 7de48d7f6641d440f631d1b6d4c79ae480874f99 (patch) | |
tree | bd8fb499b116403fb0b59ad02f42907a08427818 /include | |
parent | 5892ad20eb6104f4e2216cf82a6eaab2bd0b3682 (diff) | |
download | connman-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.h | 4 |
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 = { \ |