diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 12:02:00 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 12:02:00 +0100 |
commit | 92bd92f8514ee69f464e965ec465adb86ff882b9 (patch) | |
tree | bf5b465e6293bde6ad63fec9b27c4cbafb35bc9b /src | |
parent | fee17aefe6b727ec790568aa4994039ff94bf44e (diff) |
Use GCC visibility for exporting symbols
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin.h b/src/plugin.h index c735e5de..31bcce87 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -28,6 +28,8 @@ struct bluetooth_plugin_desc { }; #define BLUETOOTH_PLUGIN_DEFINE(name,init,exit) \ + extern struct bluetooth_plugin_desc bluetooth_plugin_desc \ + __attribute__ ((visibility("default"))); \ struct bluetooth_plugin_desc bluetooth_plugin_desc = { \ name, init, exit \ }; |