aboutsummaryrefslogtreecommitdiff
path: root/dirent/scandirat.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/scandirat.c')
-rw-r--r--dirent/scandirat.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/dirent/scandirat.c b/dirent/scandirat.c
index 004b152..d7ae5e5 100644
--- a/dirent/scandirat.c
+++ b/dirent/scandirat.c
@@ -36,21 +36,6 @@
# define SCANDIRAT_WEAK_ALIAS
#endif
-#ifndef SKIP_SCANDIR_CANCEL
-void
-__scandir_cancel_handler (void *arg)
-{
- struct scandir_cancel_struct *cp = arg;
- size_t i;
- void **v = cp->v;
-
- for (i = 0; i < cp->cnt; ++i)
- free (v[i]);
- free (v);
- (void) __closedir (cp->dp);
-}
-#endif
-
int
SCANDIRAT (dfd, dir, namelist, select, cmp)