* lib/hash.h (hash_delete): Remove declaration.
* lib/hash.c (hash_delete): Remove function.
+2025-04-29 Bruno Haible <bruno@clisp.org>
+
+ hash: Remove deprecated function 'hash_delete'.
+ * lib/hash.h (hash_delete): Remove declaration.
+ * lib/hash.c (hash_delete): Remove function.
+
2025-04-29 Bruno Haible <bruno@clisp.org>
hash: Add more comments.
return data;
}
-void *
-hash_delete (Hash_table *table, const void *entry)
-{
- return hash_remove (table, entry);
-}
-
/* Testing. */
#if TESTING
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