[pulseaudio-discuss] [PATCH v15 02/10] bluetooth: Do not export pa_a2dp_codecs array

Pali Rohár pali.rohar at gmail.com
Wed Apr 15 19:04:38 UTC 2020


It is not used directly outside of a2dp-codec-util.c file.
---
 src/modules/bluetooth/a2dp-codec-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/bluetooth/a2dp-codec-util.c b/src/modules/bluetooth/a2dp-codec-util.c
index 94d01e7bd..aff6589ca 100644
--- a/src/modules/bluetooth/a2dp-codec-util.c
+++ b/src/modules/bluetooth/a2dp-codec-util.c
@@ -30,7 +30,7 @@ extern const pa_a2dp_codec pa_a2dp_codec_sbc;
 
 /* This is list of supported codecs. Their order is important.
  * Codec with higher index has higher priority. */
-const pa_a2dp_codec *pa_a2dp_codecs[] = {
+static const pa_a2dp_codec *pa_a2dp_codecs[] = {
     &pa_a2dp_codec_sbc,
 };
 
-- 
2.20.1



More information about the pulseaudio-discuss mailing list