summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_MARK.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-29 13:48:05 +0000
committerPatrick McHardy <kaber@trash.net>2008-01-29 13:48:05 +0000
commit9ee386a1b6d7704b259460152c959ab0e79e02aa (patch)
tree13f39ec579024d42beb0ce6509b0c935dbe8ca03 /extensions/libxt_MARK.c
parentfe05c768f877bcc69c13d7a9cb1d2b33ef56f600 (diff)
fix gcc warnings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'extensions/libxt_MARK.c')
-rw-r--r--extensions/libxt_MARK.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_MARK.c b/extensions/libxt_MARK.c
index 82beb4b0..569d2e8c 100644
--- a/extensions/libxt_MARK.c
+++ b/extensions/libxt_MARK.c
@@ -29,7 +29,7 @@ static const struct option MARK_opts[] = {
{ "set-mark", 1, NULL, '1' },
{ "and-mark", 1, NULL, '2' },
{ "or-mark", 1, NULL, '3' },
- { }
+ { .name = NULL }
};
static const struct option mark_tg_opts[] = {
@@ -38,7 +38,7 @@ static const struct option mark_tg_opts[] = {
{.name = "and-mark", .has_arg = true, .val = '&'},
{.name = "or-mark", .has_arg = true, .val = '|'},
{.name = "xor-mark", .has_arg = true, .val = '^'},
- {},
+ { .name = NULL }
};
static void mark_tg_help(void)