diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-02-20 06:14:08 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-02-20 06:14:08 +0000 |
commit | b59ae6c5acd924f88fc9cb4285ed283f27c65194 (patch) | |
tree | 49d1bb722d95eb1aded6b5d354ac86e56c481c10 /networking | |
parent | 59d90b8337e20463074c14f5215e7f2fdeb800ad (diff) | |
download | busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.gz busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.tar.bz2 busybox-w32-b59ae6c5acd924f88fc9cb4285ed283f27c65194.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifconfig.c | 6 | ||||
-rw-r--r-- | networking/nc.c | 2 | ||||
-rw-r--r-- | networking/nslookup.c | 4 | ||||
-rw-r--r-- | networking/ping.c | 4 | ||||
-rw-r--r-- | networking/route.c | 4 | ||||
-rw-r--r-- | networking/telnet.c | 2 | ||||
-rw-r--r-- | networking/wget.c | 5 |
7 files changed, 14 insertions, 13 deletions
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 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: ifconfig.c,v 1.2 2001/02/14 21:23:06 andersen Exp $ | 18 | * $Id: ifconfig.c,v 1.3 2001/02/20 06:14:07 andersen Exp $ |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "busybox.h" | ||
23 | #include <sys/types.h> | ||
24 | #include <stdio.h> | 22 | #include <stdio.h> |
25 | #include <stdlib.h> | 23 | #include <stdlib.h> |
26 | #include <errno.h> | 24 | #include <errno.h> |
27 | #include <string.h> // strcmp and friends | 25 | #include <string.h> // strcmp and friends |
28 | #include <ctype.h> // isdigit and friends | 26 | #include <ctype.h> // isdigit and friends |
27 | #include <sys/types.h> | ||
29 | #include <sys/socket.h> | 28 | #include <sys/socket.h> |
30 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
31 | #include <netinet/in.h> | 30 | #include <netinet/in.h> |
@@ -33,6 +32,7 @@ | |||
33 | #include <net/if.h> | 32 | #include <net/if.h> |
34 | #include <net/if_arp.h> | 33 | #include <net/if_arp.h> |
35 | #include <linux/if_ether.h> | 34 | #include <linux/if_ether.h> |
35 | #include "busybox.h" | ||
36 | 36 | ||
37 | static int sockfd; /* socket fd we use to manipulate stuff with */ | 37 | static int sockfd; /* socket fd we use to manipulate stuff with */ |
38 | 38 | ||
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 @@ | |||
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "busybox.h" | ||
30 | #include <stdio.h> | 29 | #include <stdio.h> |
31 | #include <stdlib.h> | 30 | #include <stdlib.h> |
32 | #include <unistd.h> | 31 | #include <unistd.h> |
@@ -38,6 +37,7 @@ | |||
38 | #include <netdb.h> | 37 | #include <netdb.h> |
39 | #include <sys/time.h> | 38 | #include <sys/time.h> |
40 | #include <sys/ioctl.h> | 39 | #include <sys/ioctl.h> |
40 | #include "busybox.h" | ||
41 | 41 | ||
42 | int nc_main(int argc, char **argv) | 42 | int nc_main(int argc, char **argv) |
43 | { | 43 | { |
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 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "busybox.h" | ||
25 | #include <ctype.h> | 24 | #include <ctype.h> |
26 | #include <errno.h> | 25 | #include <errno.h> |
27 | #include <stdio.h> | 26 | #include <stdio.h> |
@@ -32,6 +31,7 @@ | |||
32 | #include <sys/socket.h> | 31 | #include <sys/socket.h> |
33 | #include <sys/types.h> | 32 | #include <sys/types.h> |
34 | #include <netinet/in.h> | 33 | #include <netinet/in.h> |
34 | #include "busybox.h" | ||
35 | 35 | ||
36 | /* | 36 | /* |
37 | | I'm only implementing non-interactive mode; | 37 | | I'm only implementing non-interactive mode; |
@@ -170,4 +170,4 @@ int nslookup_main(int argc, char **argv) | |||
170 | return EXIT_SUCCESS; | 170 | return EXIT_SUCCESS; |
171 | } | 171 | } |
172 | 172 | ||
173 | /* $Id: nslookup.c,v 1.21 2001/02/14 21:23:06 andersen Exp $ */ | 173 | /* $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 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * $Id: ping.c,v 1.37 2001/02/14 21:23:06 andersen Exp $ | 3 | * $Id: ping.c,v 1.38 2001/02/20 06:14:08 andersen Exp $ |
4 | * Mini ping implementation for busybox | 4 | * Mini ping implementation for busybox |
5 | * | 5 | * |
6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> | 6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> |
@@ -31,7 +31,6 @@ | |||
31 | * Original copyright notice is retained at the end of this file. | 31 | * Original copyright notice is retained at the end of this file. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include "busybox.h" | ||
35 | #include <sys/param.h> | 34 | #include <sys/param.h> |
36 | #include <sys/socket.h> | 35 | #include <sys/socket.h> |
37 | #include <sys/file.h> | 36 | #include <sys/file.h> |
@@ -50,6 +49,7 @@ | |||
50 | #include <unistd.h> | 49 | #include <unistd.h> |
51 | #include <string.h> | 50 | #include <string.h> |
52 | #include <stdlib.h> | 51 | #include <stdlib.h> |
52 | #include "busybox.h" | ||
53 | 53 | ||
54 | 54 | ||
55 | /* It turns out that libc5 doesn't have proper icmp support | 55 | /* 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 @@ | |||
15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
16 | * your option) any later version. | 16 | * your option) any later version. |
17 | * | 17 | * |
18 | * $Id: route.c,v 1.6 2001/02/18 20:12:25 andersen Exp $ | 18 | * $Id: route.c,v 1.7 2001/02/20 06:14:08 andersen Exp $ |
19 | * | 19 | * |
20 | * displayroute() code added by Vladimir N. Oleynik <dzo@simtreas.ru> | 20 | * displayroute() code added by Vladimir N. Oleynik <dzo@simtreas.ru> |
21 | * busybox style adjustments by Larry Doolittle <LRDoolittle@lbl.gov> | 21 | * busybox style adjustments by Larry Doolittle <LRDoolittle@lbl.gov> |
22 | * displayroute() format now matches net-tools-1.57/lib/inet_gr.c line 173. | 22 | * displayroute() format now matches net-tools-1.57/lib/inet_gr.c line 173. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "busybox.h" | ||
26 | #include <sys/types.h> | 25 | #include <sys/types.h> |
27 | #include <sys/ioctl.h> | 26 | #include <sys/ioctl.h> |
28 | #include <sys/socket.h> | 27 | #include <sys/socket.h> |
@@ -38,6 +37,7 @@ | |||
38 | #include <getopt.h> | 37 | #include <getopt.h> |
39 | #include <unistd.h> | 38 | #include <unistd.h> |
40 | #include <ctype.h> | 39 | #include <ctype.h> |
40 | #include "busybox.h" | ||
41 | 41 | ||
42 | #define _(x) x | 42 | #define _(x) x |
43 | 43 | ||
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 @@ | |||
30 | * | 30 | * |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "busybox.h" | ||
34 | #include <termios.h> | 33 | #include <termios.h> |
35 | #include <unistd.h> | 34 | #include <unistd.h> |
36 | #include <errno.h> | 35 | #include <errno.h> |
@@ -43,6 +42,7 @@ | |||
43 | #include <sys/socket.h> | 42 | #include <sys/socket.h> |
44 | #include <netinet/in.h> | 43 | #include <netinet/in.h> |
45 | #include <netdb.h> | 44 | #include <netdb.h> |
45 | #include "busybox.h" | ||
46 | 46 | ||
47 | #if 0 | 47 | #if 0 |
48 | static const int DOTRACE = 1; | 48 | 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 @@ | |||
14 | * | 14 | * |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "busybox.h" | ||
18 | #include <stdio.h> | 17 | #include <stdio.h> |
19 | #include <errno.h> | 18 | #include <errno.h> |
20 | #include <stdlib.h> | 19 | #include <stdlib.h> |
@@ -33,6 +32,8 @@ | |||
33 | #include <arpa/inet.h> | 32 | #include <arpa/inet.h> |
34 | #include <netdb.h> | 33 | #include <netdb.h> |
35 | 34 | ||
35 | #include "busybox.h" | ||
36 | |||
36 | /* Stupid libc5 doesn't define this... */ | 37 | /* Stupid libc5 doesn't define this... */ |
37 | #ifndef timersub | 38 | #ifndef timersub |
38 | #define timersub(a, b, result) \ | 39 | #define timersub(a, b, result) \ |
@@ -533,7 +534,7 @@ progressmeter(int flag) | |||
533 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 534 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
534 | * SUCH DAMAGE. | 535 | * SUCH DAMAGE. |
535 | * | 536 | * |
536 | * $Id: wget.c,v 1.27 2001/02/14 21:23:06 andersen Exp $ | 537 | * $Id: wget.c,v 1.28 2001/02/20 06:14:08 andersen Exp $ |
537 | */ | 538 | */ |
538 | 539 | ||
539 | 540 | ||