summaryrefslogtreecommitdiff
path: root/include/plugin.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-27 21:41:52 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-04-27 21:41:52 -0700
commite3fafb1cb55307f6c5f118872d72abdd03011cbd (patch)
tree910a28296e4769ae2e14f465b7123611bf10f788 /include/plugin.h
parent5a5c569add1d4cc9eb8aaf8be40eac2bf8c97bd3 (diff)
downloadconnman-e3fafb1cb55307f6c5f118872d72abdd03011cbd.tar.gz
connman-e3fafb1cb55307f6c5f118872d72abdd03011cbd.tar.bz2
connman-e3fafb1cb55307f6c5f118872d72abdd03011cbd.zip
Add infrastructure for built-in plugins
Diffstat (limited to 'include/plugin.h')
-rw-r--r--include/plugin.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/plugin.h b/include/plugin.h
index 21ecd0ef..db76ad9f 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -80,9 +80,7 @@ struct connman_plugin_desc {
*/
#ifdef CONNMAN_PLUGIN_BUILTIN
#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \
- extern struct connman_plugin_desc connman_builtin_ ## name \
- __attribute__ ((visibility("default"))); \
- struct connman_plugin_desc connman_builtin_ ## name = { \
+ struct connman_plugin_desc __connman_builtin_ ## name = { \
#name, description, version, priority, init, exit \
};
#else