1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Oct 1999 15:56:52 +0000 (15:56 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Oct 1999 15:56:52 +0000 (15:56 +0000)
commit21a7d507af929dfa8960de197a4fe936f5294c20
tree3ad8d02ae08a5e2403f87cba3849031590ae8f60
parenta7dea2456b830671cf6720f54876738c792eecdb
1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>

* hashtab.c (find_hash_table_entry): When returning a
DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
(clear_hash_table_slot): New function which deletes an entry
by its position in the table, not its value.
(traverse_hash_table): New function which calls a hook
function for every live entry in the table.

* hashtab.h: Give hash_table_t a struct tag.  Add prototypes
for clear_hash_table_slot and traverse_hash_table.  Correct
prototype of all_hash_table_collisions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30138 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/hashtab.h
libiberty/ChangeLog
libiberty/hashtab.c