diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 8 | ||||
-rw-r--r-- | include/hashtab.h | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 9907c1d..a821ac6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com> + + Import from gcc mainline: + 2020-02-05 Andrew Burgess <andrew.burgess@embecosm.com> + + * hashtab.h (htab_remove_elt): Make a parameter const. + (htab_remove_elt_with_hash): Likewise. + 2020-02-20 Nelson Chu <nelson.chu@sifive.com> * opcode/riscv-opc.h: Extend DECLARE_CSR and DECLARE_CSR_ALIAS to diff --git a/include/hashtab.h b/include/hashtab.h index d94b54c..6cca342 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -173,8 +173,8 @@ extern void * htab_find_with_hash (htab_t, const void *, hashval_t); extern void ** htab_find_slot_with_hash (htab_t, const void *, hashval_t, enum insert_option); extern void htab_clear_slot (htab_t, void **); -extern void htab_remove_elt (htab_t, void *); -extern void htab_remove_elt_with_hash (htab_t, void *, hashval_t); +extern void htab_remove_elt (htab_t, const void *); +extern void htab_remove_elt_with_hash (htab_t, const void *, hashval_t); extern void htab_traverse (htab_t, htab_trav, void *); extern void htab_traverse_noresize (htab_t, htab_trav, void *); |