From 7cf1cca8b878d47434d94241107a98ec09355bda Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sat, 30 Aug 2003 16:20:19 +0000 Subject: C99 initializers --- extensions/ebt_stp.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'extensions/ebt_stp.c') diff --git a/extensions/ebt_stp.c b/extensions/ebt_stp.c index 8e02605..391b89e 100644 --- a/extensions/ebt_stp.c +++ b/extensions/ebt_stp.c @@ -298,15 +298,15 @@ static int compare(const struct ebt_entry_match *m1, static struct ebt_u_match stp_match = { - EBT_STP_MATCH, - sizeof(struct ebt_stp_info), - print_help, - init, - parse, - final_check, - print, - compare, - opts + .name = EBT_STP_MATCH, + .size = sizeof(struct ebt_stp_info), + .help = print_help, + .init = init, + .parse = parse, + .final_check = final_check, + .print = print, + .compare = compare, + .extra_ops = opts, }; static void _init(void) __attribute__ ((constructor)); -- cgit v1.2.3