Diff between 646066a660927a70533387bd3f06d2f4e5201511 and 88f8bd2718d4941c67fbc0c7b7c8ab5750d9085d

Changed Files

File Additions Deletions Status
obexd/src/plugin.h +2 -0 modified

Full Patch

diff --git a/obexd/src/plugin.h b/obexd/src/plugin.h
index 9237be0..086fa59 100644
--- a/obexd/src/plugin.h
+++ b/obexd/src/plugin.h
@@ -28,6 +28,8 @@ struct obex_plugin_desc {
 };
 
 #define OBEX_PLUGIN_DEFINE(name,init,exit) \
+		extern struct obex_plugin_desc obex_plugin_desc \
+				__attribute__ ((visibility("default"))); \
 		struct obex_plugin_desc obex_plugin_desc = { \
 			name, init, exit \
 		};