aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
commit043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 (patch)
treebab07bc427f178857896a8bf252c61ea1a5c67a2 /networking
parent5370bfb123266ab5716f321e43d3f8f6da7d7143 (diff)
downloadbusybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.gz
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.bz2
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.zip
more C standard compat fixes from Dan Fandrich
function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c4
-rw-r--r--networking/udhcp/options.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 7a9709e40..6b9449213 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -17,11 +17,11 @@
17 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 17 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
18 */ 18 */
19 19
20#include "libbb.h"
21/* After libbb.h, since it needs sys/types.h on some systems */
20#include <sys/utsname.h> 22#include <sys/utsname.h>
21#include <fnmatch.h> 23#include <fnmatch.h>
22 24
23#include "libbb.h"
24
25#define MAX_OPT_DEPTH 10 25#define MAX_OPT_DEPTH 10
26#define EUNBALBRACK 10001 26#define EUNBALBRACK 10001
27#define EUNDEFVAR 10002 27#define EUNDEFVAR 10002
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index ddb894432..38f99196e 100644
--- a/networking/udhcp/options.c
+++ b/networking/udhcp/options.c
@@ -57,7 +57,7 @@ const struct dhcp_option dhcp_options[] = {
57 * with "option XXX YYY" syntax in dhcpd config file. */ 57 * with "option XXX YYY" syntax in dhcpd config file. */
58 58
59 { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */ 59 { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */
60 { } /* zeroed terminating entry */ 60 { 0, 0 } /* zeroed terminating entry */
61}; 61};
62 62
63/* Used for converting options from incoming packets to env variables 63/* Used for converting options from incoming packets to env variables