From 71d8077dca5e5c407dff934d549fcfea53f83ede Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 23 Jun 2019 10:15:52 -0400 Subject: bftw: Remove BFTW_SKIP_SIBLINGS It's not used by bfs, and it's difficult to support in all search strategies. --- bftw.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bftw.h') diff --git a/bftw.h b/bftw.h index e9b1132..573c5a9 100644 --- a/bftw.h +++ b/bftw.h @@ -150,10 +150,8 @@ enum bftw_typeflag bftw_typeflag(const struct BFTW *ftwbuf, enum bfs_stat_flag f enum bftw_action { /** Keep walking. */ BFTW_CONTINUE, - /** Skip this path's siblings. */ - BFTW_SKIP_SIBLINGS, /** Skip this path's children. */ - BFTW_SKIP_SUBTREE, + BFTW_PRUNE, /** Stop walking. */ BFTW_STOP, }; -- cgit v1.2.3