Skip to contentSkip to conversation

sbc: Fix visibility of sbc_reinit_a2dp()

PATCH In review John Keeping 2 participants 2 messages Dec 10, 2019 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sbc: Fix visibility of sbc_reinit_a2dp()

sbc_reinit_a2dp() is missing the SBC_EXPORT attribute so it's not visibile to be used by consumers of the shared object.

---
 sbc/sbc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sbc/sbc.c +1 -1
index 7f1efaa..edbe332 100644
@@ -1191,7 +1191,7 @@ SBC_EXPORT int sbc_init_a2dp(sbc_t *sbc, unsigned long flags,
 	return 0;
 }
 
-int sbc_reinit_a2dp(sbc_t *sbc, unsigned long flags,
+SBC_EXPORT int sbc_reinit_a2dp(sbc_t *sbc, unsigned long flags,
 					const void *conf, size_t conf_len)
 {
 	int err;
Signature · 1 line
2.24.0
maintainer
#1 lore raw

Hi John,

Quoted 5 lines

sbc_reinit_a2dp() is missing the SBC_EXPORT attribute so it's not visibile to be used by consumers of the shared object.
---
sbc/sbc.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied.

Regards

Marcel