diff options
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r-- | findutils/xargs.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c index c3a892695..e46708303 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c | |||
@@ -18,15 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "busybox.h" | 20 | #include "busybox.h" |
21 | #include <stdio.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <string.h> | ||
24 | #include <unistd.h> | ||
25 | #include <getopt.h> | ||
26 | #include <errno.h> | ||
27 | #include <fcntl.h> | ||
28 | #include <sys/types.h> | ||
29 | #include <sys/wait.h> | ||
30 | 21 | ||
31 | /* COMPAT: SYSV version defaults size (and has a max value of) to 470. | 22 | /* COMPAT: SYSV version defaults size (and has a max value of) to 470. |
32 | We try to make it as large as possible. */ | 23 | We try to make it as large as possible. */ |
@@ -300,7 +291,7 @@ static int xargs_ask_confirmation(void) | |||
300 | int c, savec; | 291 | int c, savec; |
301 | 292 | ||
302 | if (!tty_stream) { | 293 | if (!tty_stream) { |
303 | tty_stream = bb_xfopen(CURRENT_TTY, "r"); | 294 | tty_stream = xfopen(CURRENT_TTY, "r"); |
304 | /* pranoidal security by vodz */ | 295 | /* pranoidal security by vodz */ |
305 | fcntl(fileno(tty_stream), F_SETFD, FD_CLOEXEC); | 296 | fcntl(fileno(tty_stream), F_SETFD, FD_CLOEXEC); |
306 | } | 297 | } |