gnulib: Replace hash_delete with hash_remove.

Renamed in gnulib with the old function deprecated.
This commit is contained in:
Richard W.M. Jones
2020-10-22 14:50:58 +01:00
parent e49be55630
commit 0896dea338
3 changed files with 5 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ run_delete_event (const char *cmd, size_t argc, char *argv[])
const struct entry key = { .name = argv[0] };
struct entry *entry, *p;
entry = hash_delete (event_handlers, &key);
entry = hash_remove (event_handlers, &key);
if (!entry) {
fprintf (stderr, _("delete-event: %s: no such event handler\n"), argv[0]);
return -1;