mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
hashmap: constify pointer of private hash_scan function
paves the way for doing the same for pa_hashmap_get and users of it
This commit is contained in:
parent
65450eea2c
commit
d9f72d9f42
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ void pa_hashmap_free(pa_hashmap *h) {
|
||||||
pa_xfree(h);
|
pa_xfree(h);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct hashmap_entry *hash_scan(pa_hashmap *h, unsigned hash, const void *key) {
|
static struct hashmap_entry *hash_scan(const pa_hashmap *h, unsigned hash, const void *key) {
|
||||||
struct hashmap_entry *e;
|
struct hashmap_entry *e;
|
||||||
pa_assert(h);
|
pa_assert(h);
|
||||||
pa_assert(hash < NBUCKETS);
|
pa_assert(hash < NBUCKETS);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue