diff options
Diffstat (limited to 'libbb/recursive_action.c')
-rw-r--r-- | libbb/recursive_action.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c index a30addc4f..d491b781b 100644 --- a/libbb/recursive_action.c +++ b/libbb/recursive_action.c | |||
@@ -7,11 +7,6 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <stdio.h> | ||
11 | #include <string.h> | ||
12 | #include <dirent.h> | ||
13 | #include <sys/stat.h> | ||
14 | #include <stdlib.h> /* free() */ | ||
15 | #include "libbb.h" | 10 | #include "libbb.h" |
16 | 11 | ||
17 | #undef DEBUG_RECURS_ACTION | 12 | #undef DEBUG_RECURS_ACTION |
@@ -82,7 +77,7 @@ int recursive_action(const char *fileName, | |||
82 | } else if (status == SKIP) | 77 | } else if (status == SKIP) |
83 | return TRUE; | 78 | return TRUE; |
84 | } | 79 | } |
85 | dir = bb_opendir(fileName); | 80 | dir = opendir(fileName); |
86 | if (!dir) { | 81 | if (!dir) { |
87 | return FALSE; | 82 | return FALSE; |
88 | } | 83 | } |