diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2018-05-27 02:56:11 +0100 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2018-06-04 13:19:13 +0300 |
commit | 16625c351762dcefa89fa07078602e0cee072e72 (patch) | |
tree | 80ebb4cdb69c91edb3c88da891b7781ba14a02c7 | |
parent | da02d409e07c1c108982148067df39bf8b0ad57b (diff) | |
download | pulseaudio-16625c351762dcefa89fa07078602e0cee072e72.tar.gz |
hashmap: constify pointer of private hash_scan function
paves the way for doing the same for pa_hashmap_get and users of it
-rw-r--r-- | src/pulsecore/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/hashmap.c b/src/pulsecore/hashmap.c index 6477783e2..c03af3bc8 100644 --- a/src/pulsecore/hashmap.c +++ b/src/pulsecore/hashmap.c @@ -119,7 +119,7 @@ void pa_hashmap_free(pa_hashmap *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; pa_assert(h); pa_assert(hash < NBUCKETS); |