summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-27 21:42:58 +0000
committerRob Landley <rob@landley.net>2006-05-27 21:42:58 +0000
commit299a6b4d7bf40c30e4a52ee8311c17ffd42b3035 (patch)
treea3aff515a2f06bf72c2fb9fbf1e6e5bee60ad2f4 /networking
parentd244bc1a5745a64902d65b55c0fdc8d7e1a1221c (diff)
Consolidate #include <sys/time.h> so libbb.h does it.
Diffstat (limited to 'networking')
-rw-r--r--networking/arping.c1
-rw-r--r--networking/fakeidentd.c1
-rw-r--r--networking/ftpgetput.c1
-rw-r--r--networking/httpd.c1
-rw-r--r--networking/inetd.c1
-rw-r--r--networking/nc.c1
-rw-r--r--networking/ping.c1
-rw-r--r--networking/ping6.c1
-rw-r--r--networking/telnet.c7
-rw-r--r--networking/telnetd.c1
-rw-r--r--networking/tftp.c1
-rw-r--r--networking/traceroute.c1
-rw-r--r--networking/udhcp/arpping.c1
-rw-r--r--networking/udhcp/dhcpc.c1
-rw-r--r--networking/udhcp/dhcpd.c1
-rw-r--r--networking/wget.c1
-rw-r--r--networking/zcip.c1
17 files changed, 0 insertions, 23 deletions
diff --git a/networking/arping.c b/networking/arping.c
index 303e49935..e12fa508b 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -10,7 +10,6 @@
#include <sys/ioctl.h>
#include <signal.h>
-#include <sys/time.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c
index cae6b8138..d3aa3ce5d 100644
--- a/networking/fakeidentd.c
+++ b/networking/fakeidentd.c
@@ -23,7 +23,6 @@
#include <sys/syslog.h>
#include <sys/types.h>
-#include <sys/time.h>
#include <time.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index a401ec50a..48b18b536 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -15,7 +15,6 @@
#include <sys/types.h>
#include <sys/ioctl.h>
-#include <sys/time.h>
#include <sys/stat.h>
#include <ctype.h>
diff --git a/networking/httpd.c b/networking/httpd.c
index 1d8c893f2..4cd09448c 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -99,7 +99,6 @@
#include <sys/types.h>
#include <sys/socket.h> /* for connect and socket*/
#include <netinet/in.h> /* for sockaddr_in */
-#include <sys/time.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h> /* for open modes */
diff --git a/networking/inetd.c b/networking/inetd.c
index 39a2b24cb..3ecd32292 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -134,7 +134,6 @@
#include <sys/un.h>
#include <sys/file.h>
#include <sys/wait.h>
-#include <sys/time.h>
#include <sys/resource.h>
diff --git a/networking/nc.c b/networking/nc.c
index 637e97572..24f1aa5a5 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -24,7 +24,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
-#include <sys/time.h>
#include <sys/ioctl.h>
#include "busybox.h"
diff --git a/networking/ping.c b/networking/ping.c
index 7fe52ab39..d9d76bf34 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -15,7 +15,6 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/file.h>
-#include <sys/time.h>
#include <sys/times.h>
#include <signal.h>
diff --git a/networking/ping6.c b/networking/ping6.c
index 3f632e060..1cff59d4b 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -37,7 +37,6 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/file.h>
-#include <sys/time.h>
#include <sys/times.h>
#include <signal.h>
diff --git a/networking/telnet.c b/networking/telnet.c
index b3045f878..c835c7a45 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -45,13 +45,6 @@ enum { DOTRACE = 1 };
#define TRACE(x, y)
#endif
-#if 0
-#define USE_POLL
-#include <sys/poll.h>
-#else
-#include <sys/time.h>
-#endif
-
#define DATABUFSIZE 128
#define IACBUFSIZE 128
diff --git a/networking/telnetd.c b/networking/telnetd.c
index d51560bfb..5a11ffb8c 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -24,7 +24,6 @@
/*#define DEBUG 1 */
#undef DEBUG
-#include <sys/time.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
diff --git a/networking/tftp.c b/networking/tftp.c
index b830f18a5..bdba16727 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -24,7 +24,6 @@
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/time.h>
#include <sys/stat.h>
#include <netdb.h>
#include <netinet/in.h>
diff --git a/networking/traceroute.c b/networking/traceroute.c
index e0f17a57f..190f19ddc 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -218,7 +218,6 @@
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
-#include <sys/time.h> /* concession to AIX */
#include <sys/select.h>
#include "inet_common.h"
diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c
index df626f159..b029af9bf 100644
--- a/networking/udhcp/arpping.c
+++ b/networking/udhcp/arpping.c
@@ -5,7 +5,6 @@
* by Yoichi Hariguchi <yoichi@fore.com>
*/
-#include <sys/time.h>
#include <time.h>
#include <sys/socket.h>
#include <netinet/if_ether.h>
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 222bd6519..1d9ab6db6 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -7,7 +7,6 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include <sys/time.h>
#include <sys/file.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 28acb6bcc..6c5a753eb 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -34,7 +34,6 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <time.h>
-#include <sys/time.h>
#include "dhcpd.h"
#include "arpping.h"
diff --git a/networking/wget.c b/networking/wget.c
index d55f4b007..fdcc68df3 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -17,7 +17,6 @@
#include <signal.h>
#include <sys/ioctl.h>
-#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
diff --git a/networking/zcip.c b/networking/zcip.c
index ed30bb33a..b5a904d46 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -38,7 +38,6 @@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <sys/time.h>
#include <sys/socket.h>
#include <arpa/inet.h>