mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
hashmap: constify pointer of pa_hashmap_get
relies upon the same having just been done for the private hash_scan function
This commit is contained in:
parent
d9f72d9f42
commit
b757a2de5b
2 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ int pa_hashmap_put(pa_hashmap *h, void *key, void *value) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
void* pa_hashmap_get(pa_hashmap *h, const void *key) {
|
||||
void* pa_hashmap_get(const pa_hashmap *h, const void *key) {
|
||||
unsigned hash;
|
||||
struct hashmap_entry *e;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ void pa_hashmap_free(pa_hashmap*);
|
|||
int pa_hashmap_put(pa_hashmap *h, void *key, void *value);
|
||||
|
||||
/* Return an entry from the hashmap */
|
||||
void* pa_hashmap_get(pa_hashmap *h, const void *key);
|
||||
void* pa_hashmap_get(const pa_hashmap *h, const void *key);
|
||||
|
||||
/* Returns the data of the entry while removing */
|
||||
void* pa_hashmap_remove(pa_hashmap *h, const void *key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue