mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-05 01:40:45 -05: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
|
|
@ -1110,7 +1110,7 @@ static const struct pw_websocket_events websocket_events = {
|
|||
.connected = on_websocket_connected,
|
||||
};
|
||||
|
||||
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 *name, *addr, *port, *path;
|
||||
|
|
@ -1136,7 +1136,7 @@ static void on_zeroconf_added(void *data, void *user, const struct spa_dict *inf
|
|||
match_client(impl, name, props, NULL);
|
||||
}
|
||||
|
||||
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;
|
||||
const char *name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue