summaryrefslogtreecommitdiff
path: root/libihash/ihash.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-04-25 05:01:46 +0000
committerRoland McGrath <roland@gnu.org>1996-04-25 05:01:46 +0000
commite2389ec8e3edad2ecdffc1cf20d88e0a3a7f8f5f (patch)
tree7416223f60a819841dce325cae1f5ee26a75d677 /libihash/ihash.h
parent8e3258a0a2070e02f607623646a56d12a57551c9 (diff)
Undo last change.
Diffstat (limited to 'libihash/ihash.h')
-rw-r--r--libihash/ihash.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libihash/ihash.h b/libihash/ihash.h
index 34ad4c84..5d01ea1c 100644
--- a/libihash/ihash.h
+++ b/libihash/ihash.h
@@ -1,6 +1,6 @@
/* Integer-keyed hash table functions.
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -74,11 +74,9 @@ void ihash_set_cleanup(ihash_t ht,
occurs, ENOMEM is returned, otherwise 0. */
error_t ihash_add(ihash_t ht, int id, void *item, void ***locp);
-/* Find and return a pointer to the item in hash table HT with key ID, or
- NULL if it doesn't exist. The actual item data is got by dereferencing
- the returned pointer, which can also be passed directly to
- ihash_locp_remove (below). */
-void **ihash_find(ihash_t ht, int id);
+/* Find and return the item in hash table HT with key ID, or NULL if it
+ doesn't exist. */
+void *ihash_find(ihash_t ht, int id);
/* Call function FUN of one arg for each element of HT. FUN's only arg is a
pointer to the value stored in the hash table. If FUN ever returns