diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-04-03 14:58:12 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-04-03 15:02:09 +0100 |
commit | 634ddcf870551aef7dd2a1d0f0c62987a9c986c1 (patch) | |
tree | b819ed8af783c7ba813eef6b517f9809fc1f89c8 /lib/hash.c | |
parent | 3fb6e360363744462ce15c381f0b116c6fc4ce82 (diff) | |
download | gnulib-634ddcf870551aef7dd2a1d0f0c62987a9c986c1.tar.gz |
hash: remove deprecated hash_insert0 function
* lib/hash.h (hash_insert0): Remove deprecated function.
* lib/hash.c (hash_insert0): Likewise.
* NEWS: Document the interface change.
Diffstat (limited to 'lib/hash.c')
-rw-r--r-- | lib/hash.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/hash.c b/lib/hash.c index 439c533dba..4f27d5c8f8 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1116,14 +1116,6 @@ hash_insert_if_absent (Hash_table *table, void const *entry, return 1; } -/* hash_insert0 is the deprecated name for hash_insert_if_absent. - . */ -int -hash_insert0 (Hash_table *table, void const *entry, void const **matched_ent) -{ - return hash_insert_if_absent (table, entry, matched_ent); -} - /* If ENTRY matches an entry already in the hash table, return the pointer to the entry from the table. Otherwise, insert ENTRY and return ENTRY. Return NULL if the storage required for insertion cannot be allocated. |