summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index fffa3cd..2f94d13 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -76,6 +76,7 @@ static action ***actions;
static int need_print = 1;
+#if ENABLE_FEATURE_FIND_EXEC
static int count_subst(const char *str)
{
int count = 0;
@@ -103,6 +104,7 @@ static char* subst(const char *src, int count, const char* filename)
strcpy(dst, src);
return buf;
}
+#endif
static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf)
@@ -556,8 +558,8 @@ int find_main(int argc, char **argv)
argp[0] = "-a";
}
argp++;
- }
#endif
+ }
actions = parse_params(&argv[firstopt]);