mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
treewide: mark some functions static
These were found by enabling the "missing-declarations" warning.
This commit is contained in:
parent
ab6ff1bcde
commit
8c17a6626d
14 changed files with 27 additions and 29 deletions
|
|
@ -2708,7 +2708,7 @@ static void set_call_setup(enum call_setup value, void *user_data)
|
|||
}
|
||||
}
|
||||
|
||||
void set_battery_level(unsigned int level, void *user_data)
|
||||
static void set_battery_level(unsigned int level, void *user_data)
|
||||
{
|
||||
struct impl *backend = user_data;
|
||||
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ static const struct spa_bt_transport_implementation ofono_transport_impl = {
|
|||
.release = ofono_audio_release,
|
||||
};
|
||||
|
||||
bool activate_transport(struct spa_bt_transport *t, const void *data)
|
||||
static bool activate_transport(struct spa_bt_transport *t, const void *data)
|
||||
{
|
||||
struct impl *backend = (void *)data;
|
||||
struct transport_data *td = t->user_data;
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ static void group_destroy(struct group *group)
|
|||
free(group);
|
||||
}
|
||||
|
||||
struct stream *stream_create(struct spa_bt_transport *t, struct group *group)
|
||||
static struct stream *stream_create(struct spa_bt_transport *t, struct group *group)
|
||||
{
|
||||
struct stream *stream;
|
||||
void *codec_data = NULL;
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ static int read_probe(struct impl *impl, MidiEnumCharacteristicProxy *chr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
Bluez5GattDescriptor1 *find_dsc(struct impl *impl, MidiEnumCharacteristicProxy *chr)
|
||||
static Bluez5GattDescriptor1 *find_dsc(struct impl *impl, MidiEnumCharacteristicProxy *chr)
|
||||
{
|
||||
const char *path = g_dbus_proxy_get_object_path(G_DBUS_PROXY(chr));
|
||||
Bluez5GattDescriptor1 *found = NULL;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue