mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
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:
parent
0ed8880489
commit
605404c781
1 changed files with 2 additions and 4 deletions
|
|
@ -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_start_timer(struct spa_bt_device *device);
|
||||||
static int device_stop_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.
|
// Working with BlueZ Battery Provider.
|
||||||
// Developed using https://github.com/dgreid/adhd/commit/655b58f as an example of DBus calls.
|
// 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;
|
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)
|
static void device_clear_sub(struct spa_bt_device *device)
|
||||||
{
|
{
|
||||||
battery_remove(device);
|
battery_remove(device);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue