aboutsummaryrefslogtreecommitdiff
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 bf6b71a83..c49a0010a 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -81,6 +81,7 @@ static inline int one_char(const char* str, char c)
81} 81}
82 82
83 83
84#if ENABLE_FEATURE_FIND_EXEC
84static int count_subst(const char *str) 85static int count_subst(const char *str)
85{ 86{
86 int count = 0; 87 int count = 0;
@@ -108,6 +109,7 @@ static char* subst(const char *src, int count, const char* filename)
108 strcpy(dst, src); 109 strcpy(dst, src);
109 return buf; 110 return buf;
110} 111}
112#endif
111 113
112 114
113static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf) 115static int exec_actions(action ***appp, const char *fileName, struct stat *statbuf)
@@ -562,8 +564,8 @@ int find_main(int argc, char **argv)
562 argp[0] = "-a"; 564 argp[0] = "-a";
563 } 565 }
564 argp++; 566 argp++;
565 }
566#endif 567#endif
568 }
567 569
568 actions = parse_params(&argv[firstopt]); 570 actions = parse_params(&argv[firstopt]);
569 571