summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:01:14 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-09 14:01:14 +0100
commit889ed8a414c9dc7f2ec89ed50575ee7b3a9dfda2 (patch)
tree7406e313e5f4241bd8a3bdd5ff49fa0f2e6b2bd0 /include
parentfcdabedd99e617f36658c6ce636d3234d3d30a1a (diff)
downloadconnman-889ed8a414c9dc7f2ec89ed50575ee7b3a9dfda2.tar.gz
connman-889ed8a414c9dc7f2ec89ed50575ee7b3a9dfda2.tar.bz2
connman-889ed8a414c9dc7f2ec89ed50575ee7b3a9dfda2.zip
Use GCC visibility for exporting symbols
Diffstat (limited to 'include')
-rw-r--r--include/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/plugin.h b/include/plugin.h
index 059c50af..086786c4 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -79,6 +79,8 @@ struct connman_plugin_desc {
* ]|
*/
#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \
+ extern struct connman_plugin_desc connman_plugin_desc \
+ __attribute__ ((visibility("default"))); \
struct connman_plugin_desc connman_plugin_desc = { \
#name, description, version, priority, init, exit \
};