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>
This commit is contained in:
Denys Vlasenko
2009-09-06 12:47:55 +02:00
parent 5370bfb123
commit 043b1e5d99
24 changed files with 40 additions and 30 deletions

View File

@@ -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

View File

@@ -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