From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> The function is not being used outside bluetooth-util and thus can be made private. --- src/modules/bluetooth/bluetooth-util.c | 3 +-- src/modules/bluetooth/bluetooth-util.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index 21ce34e..00963fa 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -747,8 +747,7 @@ static void list_adapters(pa_bluetooth_discovery *y) { send_and_add_to_pending(y, m, get_properties_reply, NULL); } -int pa_bluetooth_transport_parse_property(pa_bluetooth_transport *t, DBusMessageIter *i) -{ +static int pa_bluetooth_transport_parse_property(pa_bluetooth_transport *t, DBusMessageIter *i) { const char *key; DBusMessageIter variant_i; diff --git a/src/modules/bluetooth/bluetooth-util.h b/src/modules/bluetooth/bluetooth-util.h index 95dd5c6..e5fe119 100644 --- a/src/modules/bluetooth/bluetooth-util.h +++ b/src/modules/bluetooth/bluetooth-util.h @@ -149,7 +149,6 @@ bool pa_bluetooth_device_any_audio_connected(const pa_bluetooth_device *d); int pa_bluetooth_transport_acquire(pa_bluetooth_transport *t, const char *accesstype, size_t *imtu, size_t *omtu); void pa_bluetooth_transport_release(pa_bluetooth_transport *t, const char *accesstype); -int pa_bluetooth_transport_parse_property(pa_bluetooth_transport *t, DBusMessageIter *i); pa_hook* pa_bluetooth_discovery_hook(pa_bluetooth_discovery *d); -- 1.7.11.7