From: bje Date: Tue, 1 Mar 2005 01:03:02 +0000 (+0000) Subject: * hashtab.c (htab_find_slot_with_hash): Make function X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d3fdb752dbf160e4f0378f0b785a1ae898dad27;p=thirdparty%2Fgcc.git * hashtab.c (htab_find_slot_with_hash): Make function documentation clearer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95717 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 1d801adf38f9..fc8040bc1cca 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2005-03-01 Ben Elliston + + * hashtab.c (htab_find_slot_with_hash): Make function + documentation clearer. + 2005-02-13 Jason Merrill * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index 6e7a44b9c91d..5882c1f3dad2 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)