summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorMike Frysinger2005-04-16 04:17:39 +0000
committerMike Frysinger2005-04-16 04:17:39 +0000
commit3cc01a80a33f659bb6ff42f0fd618d6d3059b4c8 (patch)
tree925fa7905c59dfcfabb00900bf22dd0a692a7d53 /networking/udhcp
parenta9ae74d25bec8208d56fc6619c610f0d6849412c (diff)
downloadbusybox-3cc01a80a33f659bb6ff42f0fd618d6d3059b4c8.zip
busybox-3cc01a80a33f659bb6ff42f0fd618d6d3059b4c8.tar.gz
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, };
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcpc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 95fa815..8009bec 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -58,18 +58,18 @@ static int listen_mode;
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