From cbe31dace5fb24304694d399b9eb267fbe752516 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 20 Feb 2001 06:14:08 +0000 Subject: It turns out that DODMALLOC was broken when I reorganized busybox.h header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik --- networking/ifconfig.c | 6 +++--- networking/nc.c | 2 +- networking/nslookup.c | 4 ++-- networking/ping.c | 4 ++-- networking/route.c | 4 ++-- networking/telnet.c | 2 +- networking/wget.c | 5 +++-- 7 files changed, 14 insertions(+), 13 deletions(-) (limited to 'networking') diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 66615a2fd..a3e2c0fdb 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c @@ -15,17 +15,16 @@ * Foundation; either version 2 of the License, or (at * your option) any later version. * - * $Id: ifconfig.c,v 1.2 2001/02/14 21:23:06 andersen Exp $ + * $Id: ifconfig.c,v 1.3 2001/02/20 06:14:07 andersen Exp $ * */ -#include "busybox.h" -#include #include #include #include #include // strcmp and friends #include // isdigit and friends +#include #include #include #include @@ -33,6 +32,7 @@ #include #include #include +#include "busybox.h" static int sockfd; /* socket fd we use to manipulate stuff with */ diff --git a/networking/nc.c b/networking/nc.c index 8927103e0..e40d4b459 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -26,7 +26,6 @@ */ -#include "busybox.h" #include #include #include @@ -38,6 +37,7 @@ #include #include #include +#include "busybox.h" int nc_main(int argc, char **argv) { diff --git a/networking/nslookup.c b/networking/nslookup.c index 33732de68..8791b5efe 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c @@ -21,7 +21,6 @@ * */ -#include "busybox.h" #include #include #include @@ -32,6 +31,7 @@ #include #include #include +#include "busybox.h" /* | I'm only implementing non-interactive mode; @@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv) return EXIT_SUCCESS; } -/* $Id: nslookup.c,v 1.21 2001/02/14 21:23:06 andersen Exp $ */ +/* $Id: nslookup.c,v 1.22 2001/02/20 06:14:08 andersen Exp $ */ diff --git a/networking/ping.c b/networking/ping.c index c114fb0b3..50c7ce6e6 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.37 2001/02/14 21:23:06 andersen Exp $ + * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung @@ -31,7 +31,6 @@ * Original copyright notice is retained at the end of this file. */ -#include "busybox.h" #include #include #include @@ -50,6 +49,7 @@ #include #include #include +#include "busybox.h" /* It turns out that libc5 doesn't have proper icmp support diff --git a/networking/route.c b/networking/route.c index d98d9a0b6..9be002792 100644 --- a/networking/route.c +++ b/networking/route.c @@ -15,14 +15,13 @@ * Foundation; either version 2 of the License, or (at * your option) any later version. * - * $Id: route.c,v 1.6 2001/02/18 20:12:25 andersen Exp $ + * $Id: route.c,v 1.7 2001/02/20 06:14:08 andersen Exp $ * * displayroute() code added by Vladimir N. Oleynik * busybox style adjustments by Larry Doolittle * displayroute() format now matches net-tools-1.57/lib/inet_gr.c line 173. */ -#include "busybox.h" #include #include #include @@ -38,6 +37,7 @@ #include #include #include +#include "busybox.h" #define _(x) x diff --git a/networking/telnet.c b/networking/telnet.c index ed92a8403..fd1ace41d 100644 --- a/networking/telnet.c +++ b/networking/telnet.c @@ -30,7 +30,6 @@ * */ -#include "busybox.h" #include #include #include @@ -43,6 +42,7 @@ #include #include #include +#include "busybox.h" #if 0 static const int DOTRACE = 1; diff --git a/networking/wget.c b/networking/wget.c index d1aacefa6..4b8392ba5 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -14,7 +14,6 @@ * */ -#include "busybox.h" #include #include #include @@ -33,6 +32,8 @@ #include #include +#include "busybox.h" + /* Stupid libc5 doesn't define this... */ #ifndef timersub #define timersub(a, b, result) \ @@ -533,7 +534,7 @@ progressmeter(int flag) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: wget.c,v 1.27 2001/02/14 21:23:06 andersen Exp $ + * $Id: wget.c,v 1.28 2001/02/20 06:14:08 andersen Exp $ */ -- cgit v1.2.3