From 9d852403642e002b49177299b570acd4833a160f Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 8 Mar 2016 18:09:39 +1000 Subject: [PATCH] - filelist.c: del f2b_filelist_apply() --- src/filelist.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/filelist.c b/src/filelist.c index 3b326f1..89244ef 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -14,14 +14,6 @@ f2b_filelist_append(f2b_logfile_t *list, f2b_logfile_t *file) { return file; } -void -f2b_filelist_apply(f2b_logfile_t *list, void (*cb)(f2b_logfile_t *, void *), void *arg) { - assert(cb != NULL); - - for (; list != NULL; list = list->next) - (*cb)(list, arg); -} - f2b_logfile_t * f2b_filelist_from_glob(const char *pattern) { f2b_logfile_t *file = NULL;