[BusyBox-cvs] svn commit: trunk/busybox/networking/udhcp
vapier at busybox.net
vapier at busybox.net
Sat Apr 16 04:17:40 UTC 2005
Author: vapier
Date: 2005-04-15 22:17:39 -0600 (Fri, 15 Apr 2005)
New Revision: 10111
Log:
In Bug 209, bernhardf writes:
struct named {
named_field: init,
};
appear to be depraced by now; rather use C{99} format as in
struct named {
.named_field = init,
};
Modified:
trunk/busybox/networking/udhcp/dhcpc.c
Changeset:
Modified: trunk/busybox/networking/udhcp/dhcpc.c
===================================================================
--- trunk/busybox/networking/udhcp/dhcpc.c 2005-04-16 04:17:06 UTC (rev 10110)
+++ trunk/busybox/networking/udhcp/dhcpc.c 2005-04-16 04:17:39 UTC (rev 10111)
@@ -58,18 +58,18 @@
struct client_config_t client_config = {
/* Default options. */
- abort_if_no_lease: 0,
- foreground: 0,
- quit_after_lease: 0,
- background_if_no_lease: 0,
- interface: "eth0",
- pidfile: NULL,
- script: DEFAULT_SCRIPT,
- clientid: NULL,
- hostname: NULL,
- fqdn: NULL,
- ifindex: 0,
- arp: "\0\0\0\0\0\0", /* appease gcc-3.0 */
+ .abort_if_no_lease = 0,
+ .foreground = 0,
+ .quit_after_lease = 0,
+ .background_if_no_lease = 0,
+ .interface = "eth0",
+ .pidfile = NULL,
+ .script = DEFAULT_SCRIPT,
+ .clientid = NULL,
+ .hostname = NULL,
+ .fqdn = NULL,
+ .ifindex = 0,
+ .arp = "\0\0\0\0\0\0", /* appease gcc-3.0 */
};
#ifndef IN_BUSYBOX
More information about the busybox-cvs
mailing list