aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/env.c1
-rw-r--r--coreutils/install.c3
-rw-r--r--coreutils/ls.c1
-rw-r--r--coreutils/mkdir.c1
-rw-r--r--coreutils/mv.c4
-rw-r--r--coreutils/od.c1
-rw-r--r--coreutils/od_bloaty.c1
-rw-r--r--coreutils/readlink.c1
8 files changed, 0 insertions, 13 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index f678565eb..20cf348d6 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -29,7 +29,6 @@
29 * - use xfunc_error_retval 29 * - use xfunc_error_retval
30 */ 30 */
31 31
32#include <getopt.h> /* struct option */
33#include "libbb.h" 32#include "libbb.h"
34 33
35#if ENABLE_FEATURE_ENV_LONG_OPTIONS 34#if ENABLE_FEATURE_ENV_LONG_OPTIONS
diff --git a/coreutils/install.c b/coreutils/install.c
index 4adcadb94..0b5eda0ac 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -9,9 +9,6 @@
9 * owner/group, will probably modify bb_make_directory(...) 9 * owner/group, will probably modify bb_make_directory(...)
10 */ 10 */
11 11
12#include <libgen.h>
13#include <getopt.h> /* struct option */
14
15#include "libbb.h" 12#include "libbb.h"
16#include "libcoreutils/coreutils.h" 13#include "libcoreutils/coreutils.h"
17 14
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 9e5c6dee9..985086634 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -29,7 +29,6 @@
29 * 1. requires lstat (BSD) - how do you do it without? 29 * 1. requires lstat (BSD) - how do you do it without?
30 */ 30 */
31 31
32#include <getopt.h>
33#include "libbb.h" 32#include "libbb.h"
34 33
35/* This is a NOEXEC applet. Be very careful! */ 34/* This is a NOEXEC applet. Be very careful! */
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 6bdf76d29..72bd10581 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -19,7 +19,6 @@
19/* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. 19/* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support.
20 */ 20 */
21 21
22#include <getopt.h> /* struct option */
23#include "libbb.h" 22#include "libbb.h"
24 23
25/* This is a NOFORK applet. Be very careful! */ 24/* This is a NOFORK applet. Be very careful! */
diff --git a/coreutils/mv.c b/coreutils/mv.c
index d8dc6c06b..5d02196e3 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -13,10 +13,6 @@
13 * Size reduction and improved error checking. 13 * Size reduction and improved error checking.
14 */ 14 */
15 15
16#include <sys/types.h>
17#include <sys/stat.h>
18#include <dirent.h>
19#include <getopt.h> /* struct option */
20#include "libbb.h" 16#include "libbb.h"
21#include "libcoreutils/coreutils.h" 17#include "libcoreutils/coreutils.h"
22 18
diff --git a/coreutils/od.c b/coreutils/od.c
index 85e979f7e..94a6b95df 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -17,7 +17,6 @@
17/* This one provides -t (busybox's own build script needs it) */ 17/* This one provides -t (busybox's own build script needs it) */
18#include "od_bloaty.c" 18#include "od_bloaty.c"
19#else 19#else
20#include <getopt.h>
21 20
22#include "dump.h" 21#include "dump.h"
23 22
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index dce2349a3..942cf038e 100644
--- a/coreutils/od_bloaty.c
+++ b/coreutils/od_bloaty.c
@@ -50,7 +50,6 @@ diff -u -a std bbox >bbox.diff || { echo Different!; sleep 1; }
50*/ 50*/
51 51
52#include "libbb.h" 52#include "libbb.h"
53#include <getopt.h>
54 53
55#define assert(a) ((void)0) 54#define assert(a) ((void)0)
56 55
diff --git a/coreutils/readlink.c b/coreutils/readlink.c
index 3f13a3660..0c45e1234 100644
--- a/coreutils/readlink.c
+++ b/coreutils/readlink.c
@@ -7,7 +7,6 @@
7 * Licensed under GPL v2 or later, see file LICENSE in this tarball for details. 7 * Licensed under GPL v2 or later, see file LICENSE in this tarball for details.
8 */ 8 */
9 9
10#include <getopt.h>
11#include "libbb.h" 10#include "libbb.h"
12 11
13int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 12int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;