diff options
author | Denys Vlasenko | 2009-09-06 12:47:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-09-06 12:47:55 +0200 |
commit | 043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 (patch) | |
tree | bab07bc427f178857896a8bf252c61ea1a5c67a2 /networking | |
parent | 5370bfb123266ab5716f321e43d3f8f6da7d7143 (diff) | |
download | busybox-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.zip busybox-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.gz |
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.c | 4 | ||||
-rw-r--r-- | networking/udhcp/options.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 7a9709e..6b94492 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -17,11 +17,11 @@ * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */ +#include "libbb.h" +/* After libbb.h, since it needs sys/types.h on some systems */ #include <sys/utsname.h> #include <fnmatch.h> -#include "libbb.h" - #define MAX_OPT_DEPTH 10 #define EUNBALBRACK 10001 #define EUNDEFVAR 10002 diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c index ddb8944..38f9919 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c @@ -57,7 +57,7 @@ const struct dhcp_option dhcp_options[] = { * with "option XXX YYY" syntax in dhcpd config file. */ { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */ - { } /* zeroed terminating entry */ + { 0, 0 } /* zeroed terminating entry */ }; /* Used for converting options from incoming packets to env variables |