patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)

*: removal of #include <getopt.h>
This commit is contained in:
Denis Vlasenko
2008-03-23 22:55:25 +00:00
parent 324d26f9aa
commit c93b162248
31 changed files with 73 additions and 138 deletions

View File

@@ -29,7 +29,6 @@
* - use xfunc_error_retval
*/
#include <getopt.h> /* struct option */
#include "libbb.h"
#if ENABLE_FEATURE_ENV_LONG_OPTIONS

View File

@@ -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"

View File

@@ -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! */

View File

@@ -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! */

View File

@@ -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"

View File

@@ -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"

View File

@@ -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)

View File

@@ -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;