summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_mark_m.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-08-30 16:20:19 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-08-30 16:20:19 +0000
commit7cf1cca8b878d47434d94241107a98ec09355bda (patch)
treef2ef8f6cefc3bbaea38f692d666e7c189af1b1aa /extensions/ebt_mark_m.c
parent8e96bee4703f792e8542c259cea2abf11bc0dfba (diff)
C99 initializers
Diffstat (limited to 'extensions/ebt_mark_m.c')
-rw-r--r--extensions/ebt_mark_m.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/extensions/ebt_mark_m.c b/extensions/ebt_mark_m.c
index 4fdc41d..0d14d76 100644
--- a/extensions/ebt_mark_m.c
+++ b/extensions/ebt_mark_m.c
@@ -104,15 +104,15 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match mark_match =
{
- EBT_MARK_MATCH,
- sizeof(struct ebt_mark_m_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_MARK_MATCH,
+ .size = sizeof(struct ebt_mark_m_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));