mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-10 05:33:54 -04:00
zeroconf: pass user data as const
This commit is contained in:
parent
db713c8264
commit
a065cff8c1
7 changed files with 20 additions and 24 deletions
|
|
@ -1280,7 +1280,7 @@ static const char *get_service_name(struct impl *impl)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static void on_zeroconf_added(void *data, void *user, const struct spa_dict *info)
|
||||
static void on_zeroconf_added(void *data, const void *user, const struct spa_dict *info)
|
||||
{
|
||||
struct impl *impl = data;
|
||||
const char *str, *service_name, *address, *hostname;
|
||||
|
|
@ -1417,7 +1417,7 @@ error:
|
|||
return;
|
||||
}
|
||||
|
||||
static void on_zeroconf_removed(void *data, void *user, const struct spa_dict *info)
|
||||
static void on_zeroconf_removed(void *data, const void *user, const struct spa_dict *info)
|
||||
{
|
||||
struct impl *impl = data;
|
||||
struct service_info sinfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue