pipewire: global: take const argument

The elements of the array are never modified,
so change the argument to be `const`.
This commit is contained in:
Barnabás Pőcze 2021-06-26 23:07:31 +02:00
parent 9aacd36f37
commit c0e158aa0c
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ const struct pw_properties *pw_global_get_properties(struct pw_global *global)
SPA_EXPORT
int pw_global_update_keys(struct pw_global *global,
const struct spa_dict *dict, const char *keys[])
const struct spa_dict *dict, const char * const keys[])
{
if (global->registered)
return -EINVAL;

View file

@ -118,7 +118,7 @@ const struct pw_properties *pw_global_get_properties(struct pw_global *global);
/** Update the global properties, must be done when unregistered */
int pw_global_update_keys(struct pw_global *global,
const struct spa_dict *dict, const char *keys[]);
const struct spa_dict *dict, const char * const keys[]);
/** Get the object associated with the global. This depends on the type of the
* global */