diff options
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r-- | libbb/recursive_action.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index d491b781b..28a493403 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c | |||
@@ -23,14 +23,10 @@ | |||
23 | * is so stinking huge. | 23 | * is so stinking huge. |
24 | */ | 24 | */ |
25 | int recursive_action(const char *fileName, | 25 | int recursive_action(const char *fileName, |
26 | int recurse, int followLinks, int depthFirst, | 26 | int recurse, int followLinks, int depthFirst, |
27 | int (*fileAction) (const char *fileName, | 27 | int (*fileAction) (const char *fileName, struct stat * statbuf, void* userData), |
28 | struct stat * statbuf, | 28 | int (*dirAction) (const char *fileName, struct stat * statbuf, void* userData), |
29 | void* userData), | 29 | void* userData) |
30 | int (*dirAction) (const char *fileName, | ||
31 | struct stat * statbuf, | ||
32 | void* userData), | ||
33 | void* userData) | ||
34 | { | 30 | { |
35 | int status; | 31 | int status; |
36 | struct stat statbuf; | 32 | struct stat statbuf; |