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, };
This commit is contained in:
parent
a9ae74d25b
commit
3cc01a80a3
@ -58,18 +58,18 @@ static int listen_mode;
|
|||||||
|
|
||||||
struct client_config_t client_config = {
|
struct client_config_t client_config = {
|
||||||
/* Default options. */
|
/* Default options. */
|
||||||
abort_if_no_lease: 0,
|
.abort_if_no_lease = 0,
|
||||||
foreground: 0,
|
.foreground = 0,
|
||||||
quit_after_lease: 0,
|
.quit_after_lease = 0,
|
||||||
background_if_no_lease: 0,
|
.background_if_no_lease = 0,
|
||||||
interface: "eth0",
|
.interface = "eth0",
|
||||||
pidfile: NULL,
|
.pidfile = NULL,
|
||||||
script: DEFAULT_SCRIPT,
|
.script = DEFAULT_SCRIPT,
|
||||||
clientid: NULL,
|
.clientid = NULL,
|
||||||
hostname: NULL,
|
.hostname = NULL,
|
||||||
fqdn: NULL,
|
.fqdn = NULL,
|
||||||
ifindex: 0,
|
.ifindex = 0,
|
||||||
arp: "\0\0\0\0\0\0", /* appease gcc-3.0 */
|
.arp = "\0\0\0\0\0\0", /* appease gcc-3.0 */
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef IN_BUSYBOX
|
#ifndef IN_BUSYBOX
|
||||||
|
Loading…
Reference in New Issue
Block a user