diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-13 14:48:56 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-13 14:48:56 +0000 |
commit | 14c235d91d20ec2ac27bc93235d6b28f5abc4933 (patch) | |
tree | 29d3fb80f1928330a799e287f6a657a318546016 /include | |
parent | cfb805a092726fd6ecfe8451b684487064b6e73c (diff) | |
download | gcc-14c235d91d20ec2ac27bc93235d6b28f5abc4933.tar.gz |
* hashtab.c (htab_remove_elt_with_hash): New function.
(htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
* hashtab.h (htab_remove_elt_with_hash): Prototype new function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/hashtab.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e415afaaf9b..4e26bce3b63 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-04-13 Jeff Law <law@redhat.com> + + * hashtab.h (htab_remove_elt_with_hash): Prototype new function. + 2004-03-30 Zack Weinberg <zack@codesourcery.com> * hashtab.h, splay-tree.h: Use new shorter form of GTY markers. diff --git a/include/hashtab.h b/include/hashtab.h index 1af7368d338..a2ef32c36ae 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -166,6 +166,7 @@ extern PTR *htab_find_slot_with_hash PARAMS ((htab_t, const void *, enum insert_option)); extern void htab_clear_slot PARAMS ((htab_t, void **)); extern void htab_remove_elt PARAMS ((htab_t, void *)); +extern void htab_remove_elt_with_hash PARAMS ((htab_t, void *, hashval_t)); extern void htab_traverse PARAMS ((htab_t, htab_trav, void *)); extern void htab_traverse_noresize PARAMS ((htab_t, htab_trav, void *)); |