summaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-03-01 01:03:02 +0000
committerBen Elliston <bje@gcc.gnu.org>2005-03-01 12:03:02 +1100
commit6a88516c9d9bfd528fdfa2ac2904fc0c14597b9c (patch)
tree8886e786683b0c40a697ce4ab7747fe0a000925a /libiberty/hashtab.c
parentf50c57bad1b053b56fe6b94ae2b425f3f8e9958d (diff)
downloadgcc-6a88516c9d9bfd528fdfa2ac2904fc0c14597b9c.tar.gz
hashtab.c (htab_find_slot_with_hash): Make function documentation clearer.
* hashtab.c (htab_find_slot_with_hash): Make function documentation clearer. From-SVN: r95717
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r--libiberty/hashtab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index 6e7a44b9c91..5882c1f3dad 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -621,11 +621,11 @@ htab_find (htab, element)
/* This function searches for a hash table slot containing an entry
equal to the given element. To delete an entry, call this with
- INSERT = 0, then call htab_clear_slot on the slot returned (possibly
- after doing some checks). To insert an entry, call this with
- INSERT = 1, then write the value you want into the returned slot.
- When inserting an entry, NULL may be returned if memory allocation
- fails. */
+ insert=NO_INSERT, then call htab_clear_slot on the slot returned
+ (possibly after doing some checks). To insert an entry, call this
+ with insert=INSERT, then write the value you want into the returned
+ slot. When inserting an entry, NULL may be returned if memory
+ allocation fails. */
PTR *
htab_find_slot_with_hash (htab, element, hash, insert)