From c93b162248892265eae5f54e9ee409074dfa08c5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 23 Mar 2008 22:55:25 +0000 Subject: patch: shrink by Pascal Bellard (-80 bytes) *: removal of #include --- coreutils/env.c | 1 - coreutils/install.c | 3 --- coreutils/ls.c | 1 - coreutils/mkdir.c | 1 - coreutils/mv.c | 4 ---- coreutils/od.c | 1 - coreutils/od_bloaty.c | 1 - coreutils/readlink.c | 1 - 8 files changed, 13 deletions(-) (limited to 'coreutils') 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 @@ * - use xfunc_error_retval */ -#include /* struct option */ #include "libbb.h" #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 @@ * owner/group, will probably modify bb_make_directory(...) */ -#include -#include /* struct option */ - #include "libbb.h" #include "libcoreutils/coreutils.h" 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 @@ * 1. requires lstat (BSD) - how do you do it without? */ -#include #include "libbb.h" /* 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 @@ /* Nov 28, 2006 Yoshinori Sato : Add SELinux Support. */ -#include /* struct option */ #include "libbb.h" /* 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 @@ * Size reduction and improved error checking. */ -#include -#include -#include -#include /* struct option */ #include "libbb.h" #include "libcoreutils/coreutils.h" 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 @@ /* This one provides -t (busybox's own build script needs it) */ #include "od_bloaty.c" #else -#include #include "dump.h" 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; } */ #include "libbb.h" -#include #define assert(a) ((void)0) 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 @@ * Licensed under GPL v2 or later, see file LICENSE in this tarball for details. */ -#include #include "libbb.h" int readlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -- cgit v1.2.3