aboutsummaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-01 02:22:06 +0000
committerDJ Delorie <dj@redhat.com>2005-03-01 02:22:06 +0000
commitbac7199c79afbf5db2f2f0df858f432caff1d1d2 (patch)
treee9745d80309a94df050b0a1f716389add3e85fe6 /libiberty/hashtab.c
parentc9dea48b1faf7a8a243673dd32a0089036f7ea36 (diff)
downloadgdb-bac7199c79afbf5db2f2f0df858f432caff1d1d2.zip
gdb-bac7199c79afbf5db2f2f0df858f432caff1d1d2.tar.gz
gdb-bac7199c79afbf5db2f2f0df858f432caff1d1d2.tar.bz2
merge from gcc
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 6e7a44b..5882c1f 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)