From 043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 6 Sep 2009 12:47:55 +0200 Subject: more C standard compat fixes from Dan Fandrich function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko --- networking/ifupdown.c | 4 ++-- networking/udhcp/options.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'networking') 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 @@ * 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 #include -#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 ddb894432..38f99196e 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 -- cgit v1.2.3