aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-23 22:55:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-23 22:55:25 +0000
commitc93b162248892265eae5f54e9ee409074dfa08c5 (patch)
tree497549c9ca48814af3de07d185bf7beaa0d360b2 /networking
parent324d26f9aa7453871e8bc5c2cc7c45ae2627bc35 (diff)
downloadbusybox-w32-c93b162248892265eae5f54e9ee409074dfa08c5.tar.gz
busybox-w32-c93b162248892265eae5f54e9ee409074dfa08c5.tar.bz2
busybox-w32-c93b162248892265eae5f54e9ee409074dfa08c5.zip
patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)
*: removal of #include <getopt.h>
Diffstat (limited to 'networking')
-rw-r--r--networking/ftpgetput.c1
-rw-r--r--networking/ifupdown.c1
-rw-r--r--networking/ipcalc.c1
-rw-r--r--networking/route.c1
-rw-r--r--networking/udhcp/dhcpc.c1
-rw-r--r--networking/udhcp/dumpleases.c1
-rw-r--r--networking/wget.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 6e2d96093..a1ee05426 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -13,7 +13,6 @@
13 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 13 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
14 */ 14 */
15 15
16#include <getopt.h>
17#include "libbb.h" 16#include "libbb.h"
18 17
19typedef struct ftp_host_info_s { 18typedef struct ftp_host_info_s {
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 174681984..29738c6d0 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -19,7 +19,6 @@
19 19
20#include <sys/utsname.h> 20#include <sys/utsname.h>
21#include <fnmatch.h> 21#include <fnmatch.h>
22#include <getopt.h>
23 22
24#include "libbb.h" 23#include "libbb.h"
25 24
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index d7c968c25..9e92b643e 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -12,7 +12,6 @@
12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 12 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
13 */ 13 */
14 14
15#include <getopt.h>
16#include <sys/socket.h> 15#include <sys/socket.h>
17#include <arpa/inet.h> 16#include <arpa/inet.h>
18 17
diff --git a/networking/route.c b/networking/route.c
index 53e3988c1..857424c3b 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -25,7 +25,6 @@
25 * remove ridiculous amounts of bloat. 25 * remove ridiculous amounts of bloat.
26 */ 26 */
27 27
28#include <getopt.h>
29#include <net/route.h> 28#include <net/route.h>
30#include <net/if.h> 29#include <net/if.h>
31 30
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index fe8f4c8fa..bc0676152 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -8,7 +8,6 @@
8 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 8 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
9 */ 9 */
10 10
11#include <getopt.h>
12#include <syslog.h> 11#include <syslog.h>
13 12
14/* Override ENABLE_FEATURE_PIDFILE - ifupdown needs our pidfile to always exist */ 13/* Override ENABLE_FEATURE_PIDFILE - ifupdown needs our pidfile to always exist */
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c
index 83b384177..c98005f13 100644
--- a/networking/udhcp/dumpleases.c
+++ b/networking/udhcp/dumpleases.c
@@ -2,7 +2,6 @@
2/* 2/*
3 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 3 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
4 */ 4 */
5#include <getopt.h>
6 5
7#include "common.h" 6#include "common.h"
8#include "dhcpd.h" 7#include "dhcpd.h"
diff --git a/networking/wget.c b/networking/wget.c
index f8adcd700..7dd1d36f9 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -6,7 +6,6 @@
6 * 6 *
7 */ 7 */
8 8
9#include <getopt.h> /* for struct option */
10#include "libbb.h" 9#include "libbb.h"
11 10
12struct host_info { 11struct host_info {