summaryrefslogtreecommitdiff
path: root/libihash/ihash.h
diff options
context:
space:
mode:
authorMarco Gerards <marco@gnu.org>2004-04-02 17:01:03 +0000
committerMarco Gerards <marco@gnu.org>2004-04-02 17:01:03 +0000
commit83e12119b30fd0c01204aff8f8b40a1700eb72ab (patch)
tree38b101203140eec9cf07502e79af14ab2515d7b7 /libihash/ihash.h
parent01fa2523031ed2e4b7b692e2162e925619310688 (diff)
2004-04-02 Marco Gerards <metgerards@student.han.nl>
* ihash.c (hurd_ihash_remove): Don't look for the index when the hashtable is empty. * ihash.h (HURD_IHASH_ITERATE): Doc fix.
Diffstat (limited to 'libihash/ihash.h')
-rw-r--r--libihash/ihash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libihash/ihash.h b/libihash/ihash.h
index 8f537edb..0be65efe 100644
--- a/libihash/ihash.h
+++ b/libihash/ihash.h
@@ -1,5 +1,5 @@
/* ihash.h - Integer keyed hash table interface.
- Copyright (C) 1995, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2003, 2004 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>.
Revised by Marcus Brinkmann <marcus@gnu.org>.
@@ -180,7 +180,7 @@ hurd_ihash_value_t hurd_ihash_find (hurd_ihash_t ht, hurd_ihash_key_t key);
Or even like this:
- hurd_ihash_iterate (ht, value)
+ HURD_IHASH_ITERATE (ht, value)
foo (value);
The block will be run for every element in the hash table HT. The