mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
proplist: pa_proplist_equal: constify proplist pointers
This commit is contained in:
parent
2562446c4a
commit
4af27c25d2
2 changed files with 2 additions and 2 deletions
|
|
@ -674,7 +674,7 @@ int pa_proplist_isempty(const pa_proplist *p) {
|
||||||
return pa_hashmap_isempty(MAKE_HASHMAP_CONST(p));
|
return pa_hashmap_isempty(MAKE_HASHMAP_CONST(p));
|
||||||
}
|
}
|
||||||
|
|
||||||
int pa_proplist_equal(pa_proplist *a, pa_proplist *b) {
|
int pa_proplist_equal(const pa_proplist *a, const pa_proplist *b) {
|
||||||
const void *key = NULL;
|
const void *key = NULL;
|
||||||
struct property *a_prop = NULL;
|
struct property *a_prop = NULL;
|
||||||
struct property *b_prop = NULL;
|
struct property *b_prop = NULL;
|
||||||
|
|
|
||||||
|
|
@ -404,7 +404,7 @@ int pa_proplist_isempty(const pa_proplist *p);
|
||||||
|
|
||||||
/** Return non-zero when a and b have the same keys and values.
|
/** Return non-zero when a and b have the same keys and values.
|
||||||
* \since 0.9.16 */
|
* \since 0.9.16 */
|
||||||
int pa_proplist_equal(pa_proplist *a, pa_proplist *b);
|
int pa_proplist_equal(const pa_proplist *a, const pa_proplist *b);
|
||||||
|
|
||||||
PA_C_DECL_END
|
PA_C_DECL_END
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue