Removing deprecated function hash_delete() --- lib/hash.c | 6 ------ lib/hash.h | 5 ----- 2 files changed, 11 deletions(-)
diff --git a/lib/hash.c b/lib/hash.c index 2b123be754..b5bd8a32a0 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1085,12 +1085,6 @@ hash_remove (Hash_table *table, const void *entry) return data; } -void * -hash_delete (Hash_table *table, const void *entry) -{ - return hash_remove (table, entry); -} - /* Testing. */ #if TESTING diff --git a/lib/hash.h b/lib/hash.h index f764985fb6..e39db8edbd 100644 --- a/lib/hash.h +++ b/lib/hash.h @@ -261,11 +261,6 @@ extern int hash_insert_if_absent (Hash_table *table, const void *entry, table, don't modify the table and return NULL. */ extern void *hash_remove (Hash_table *table, const void *entry); -/* Same as hash_remove. This interface is deprecated. - FIXME: Remove in 2022. */ -_GL_ATTRIBUTE_DEPRECATED -extern void *hash_delete (Hash_table *table, const void *entry); - # ifdef __cplusplus } # endif -- 2.34.1