diff options
author | DJ Delorie <dj@delorie.com> | 2005-03-01 02:22:06 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-03-01 02:22:06 +0000 |
commit | c5403be85108648c887fcf1fabcad5a8929bc408 (patch) | |
tree | c1f2096759af8ef78dfb237f69094d40ac629f24 /libiberty | |
parent | 8cb56db73392dadc5bd477e0ec1f42963ccef520 (diff) | |
download | binutils-redhat-c5403be85108648c887fcf1fabcad5a8929bc408.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/hashtab.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 1d801adf38..fc8040bc1c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2005-03-01 Ben Elliston <bje@au.ibm.com> + + * hashtab.c (htab_find_slot_with_hash): Make function + documentation clearer. + 2005-02-13 Jason Merrill <jason@redhat.com> * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index 6e7a44b9c9..5882c1f3da 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) |