about summary refs log tree commit diff
path: root/dirent/scandirat.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-05-13 12:33:56 -0700
committerRoland McGrath <roland@hack.frob.com>2015-05-13 12:33:56 -0700
commit83c10893259916152d277327fa37d8f70bb4d4c2 (patch)
treec7076c7a35593a2cb883c9af2ee40bae88e22af4 /dirent/scandirat.c
parentb88a18e10c9b18a74e2c2b26817189a5841cff12 (diff)
downloadglibc-83c10893259916152d277327fa37d8f70bb4d4c2.tar.gz
glibc-83c10893259916152d277327fa37d8f70bb4d4c2.tar.xz
glibc-83c10893259916152d277327fa37d8f70bb4d4c2.zip
Break __scandir_cancel_handler out into its own file.
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 004b1527f3..d7ae5e52c8 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)