From 83c10893259916152d277327fa37d8f70bb4d4c2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 13 May 2015 12:33:56 -0700 Subject: Break __scandir_cancel_handler out into its own file. --- dirent/scandirat.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'dirent/scandirat.c') 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) -- cgit v1.2.3-70-g09d2