Diff between 8cd91d18de8ada1cc1284a6e9dcad6f78b018b97 and 87b332e34c711ab01e9b573f04ae35ec11263619

Changed Files

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

Full Patch

diff --git a/src/plugin.h b/src/plugin.h
index 4fbdd1d..89c7b85 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -42,9 +42,9 @@ struct bluetooth_plugin_desc {
 #else
 #define BLUETOOTH_PLUGIN_DEFINE(name, version, priority, init, exit) \
 		extern struct btd_debug_desc __start___debug[] \
-				__attribute__ ((visibility("hidden"))); \
+				__attribute__ ((weak, visibility("hidden"))); \
 		extern struct btd_debug_desc __stop___debug[] \
-				__attribute__ ((visibility("hidden"))); \
+				__attribute__ ((weak, visibility("hidden"))); \
 		extern struct bluetooth_plugin_desc bluetooth_plugin_desc \
 				__attribute__ ((visibility("default"))); \
 		struct bluetooth_plugin_desc bluetooth_plugin_desc = { \