gcc/include
Zack Weinberg 5194cf0890 hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions).
* hashtab.c: Remove debugging variables (all_searches,
	all_collisions, all_expansions). Delete
	all_hash_table_collisions.
	(create_hash_table, delete_hash_table, empty_hash_table,
	find_hash_table_entry, remove_element_from_hash_table_entry,
	clear_hash_table_slot, traverse_hash_table, hash_table_size,
	hash_table_elements_number, hash_table_collisions): Rename to:
	htab_create, htab_delete, htab_empty, htab_find_slot,
	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
	htab_elements, htab_collisions.
	(htab_find): New function, handles common case where you don't
	plan to add or delete an entry.
	(htab_expand): Don't create a whole new table, just a new
	entry vector.
	(htab_find_slot): Simplify logic.

	* hashtab.h (hash_table_t): Rename to htab_t.
	(struct hash_table): Rename to struct htab.  Shorten element
	names.  Reorder elements by size.
	(htab_hash, htab_eq, htab_trav): New typedefs for the callback
	function pointers.
	(hash_table_entry_t): Discard; just use void * for element
	type.

From-SVN: r32437
2000-03-08 23:44:29 +00:00
..
ansidecl.h ansidecl.h (ATTRIBUTE_MALLOC): New macro. 1999-11-30 23:56:52 +00:00
ChangeLog hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions). 2000-03-08 23:44:29 +00:00
COPYING
demangle.h demangle.h: Don't check IN_GCC anymore. 1998-12-14 06:55:07 +00:00
floatformat.h
fnmatch.h Update FSF address in copyright header. 1999-01-11 06:53:51 -07:00
getopt.h
hashtab.h hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions). 2000-03-08 23:44:29 +00:00
libiberty.h ansidecl.h (ATTRIBUTE_MALLOC): New macro. 1999-11-30 23:56:52 +00:00
objalloc.h Update FSF address in copyright header. 1999-01-11 06:53:51 -07:00
obstack.h Avoids false positives with -Wcast-qual: 1999-09-01 14:44:56 +00:00
splay-tree.h splay-tree.h (struct splay_tree_node): Rename to ... 1999-12-05 18:13:48 +00:00
symcat.h symcat.h (STRINGX): Change "?" to "s" to stringify argument s. 2000-01-01 17:26:13 +00:00