summaryrefslogtreecommitdiff
path: root/lib/fts-cycle.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-10-17 03:00:59 +0200
committerBruno Haible <bruno@clisp.org>2020-10-17 03:00:59 +0200
commit342e7423fd65e96f83299494d69ddf03e171413e (patch)
tree3ecd47f3d134a66a93297699e0c02a06abd12edc /lib/fts-cycle.c
parentf0e75527194fc0821af1cb4d01cbb12928a77926 (diff)
downloadgnulib-342e7423fd65e96f83299494d69ddf03e171413e.tar.gz
hash: Rename hash_delete to hash_remove.
* lib/hash.h (hash_remove): Renamed from hash_delete. (hash_delete): New declaration. * lib/hash.c (hash_remove): Renamed from hash_delete. (hash_delete): New function. * tests/test-hash.c (main): Update. * lib/fts-cycle.c (leave_dir): Likewise. * NEWS: Mention the change.
Diffstat (limited to 'lib/fts-cycle.c')
-rw-r--r--lib/fts-cycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fts-cycle.c b/lib/fts-cycle.c
index 46b5f61859..a2d59bebb1 100644
--- a/lib/fts-cycle.c
+++ b/lib/fts-cycle.c
@@ -131,7 +131,7 @@ leave_dir (FTS *fts, FTSENT *ent)
void *found;
obj.dev = st->st_dev;
obj.ino = st->st_ino;
- found = hash_delete (fts->fts_cycle.ht, &obj);
+ found = hash_remove (fts->fts_cycle.ht, &obj);
if (!found)
abort ();
free (found);