summaryrefslogtreecommitdiff
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 f678565..20cf348 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -29,7 +29,6 @@
* - use xfunc_error_retval
*/
-#include <getopt.h> /* struct option */
#include "libbb.h"
#if ENABLE_FEATURE_ENV_LONG_OPTIONS
diff --git a/coreutils/install.c b/coreutils/install.c
index 4adcadb..0b5eda0 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -9,9 +9,6 @@
* owner/group, will probably modify bb_make_directory(...)
*/
-#include <libgen.h>
-#include <getopt.h> /* struct option */
-
#include "libbb.h"
#include "libcoreutils/coreutils.h"
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 9e5c6de..9850866 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -29,7 +29,6 @@
* 1. requires lstat (BSD) - how do you do it without?
*/
-#include <getopt.h>
#include "libbb.h"
/* This is a NOEXEC applet. Be very careful! */
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 6bdf76d..72bd105 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -19,7 +19,6 @@
/* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support.
*/
-#include <getopt.h> /* struct option */
#include "libbb.h"
/* This is a NOFORK applet. Be very careful! */
diff --git a/coreutils/mv.c b/coreutils/mv.c
index d8dc6c0..5d02196 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -13,10 +13,6 @@
* Size reduction and improved error checking.
*/
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <dirent.h>
-#include <getopt.h> /* struct option */
#include "libbb.h"
#include "libcoreutils/coreutils.h"
diff --git a/coreutils/od.c b/coreutils/od.c
index 85e979f..94a6b95 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -17,7 +17,6 @@
/* This one provides -t (busybox's own build script needs it) */
#include "od_bloaty.c"
#else
-#include <getopt.h>
#include "dump.h"
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index dce2349..942cf03 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; }
*/
#include "libbb.h"
-#include <getopt.h>
#define assert(a) ((void)0)
diff --git a/coreutils/readlink.c b/coreutils/readlink.c
index 3f13a36..0c45e12 100644
--- a/coreutils/readlink.c
+++ b/coreutils/readlink.c
@@ -7,7 +7,6 @@
* Licensed under GPL v2 or later, see file LICENSE in this tarball for details.
*/
-#include <getopt.h>
#include "libbb.h"
int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;