spa: bluez: device_stop_timer(): remove redundant decl

Also move the declaration of `media_codec_switch_free()`
up to the beginning of the file, near the other decls.
This commit is contained in:
Barnabás Pőcze 2023-07-03 04:20:21 +02:00
parent 0ed8880489
commit 605404c781

View file

@ -208,6 +208,8 @@ static void spa_bt_transport_commit_release_timer(struct spa_bt_transport *trans
static int device_start_timer(struct spa_bt_device *device);
static int device_stop_timer(struct spa_bt_device *device);
static void media_codec_switch_free(struct spa_bt_media_codec_switch *sw);
// Working with BlueZ Battery Provider.
// Developed using https://github.com/dgreid/adhd/commit/655b58f as an example of DBus calls.
@ -1287,10 +1289,6 @@ static struct spa_bt_device *device_create(struct spa_bt_monitor *monitor, const
return d;
}
static int device_stop_timer(struct spa_bt_device *device);
static void media_codec_switch_free(struct spa_bt_media_codec_switch *sw);
static void device_clear_sub(struct spa_bt_device *device)
{
battery_remove(device);