aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index b75d556..19178f4 100644
--- a/main.c
+++ b/main.c
@@ -619,7 +619,7 @@ struct search_args
};
static int search_fn(const char *const fpath, const struct stat *const sb,
- void *const user)
+ bool *const done, void *const user)
{
const struct search_args *const sa = user;
const char *rel = fpath + strlen(sa->root);
@@ -810,7 +810,7 @@ end:
}
static int add_length(const char *const fpath, const struct stat *const sb,
- void *const user)
+ bool *const done, void *const user)
{
if (!S_ISREG(sb->st_mode))
return 0;
@@ -1481,7 +1481,7 @@ static const char *find_rm_dir(const struct form *const forms, const size_t n,
}
static int rm_dir_contents(const char *const fpath,
- const struct stat *const sb, void *const user)
+ const struct stat *const sb, bool *const done, void *const user)
{
if (S_ISDIR(sb->st_mode) && rmdir(fpath))
{