From 9ee386a1b6d7704b259460152c959ab0e79e02aa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2008 13:48:05 +0000 Subject: fix gcc warnings Max Kellermann --- extensions/libxt_TOS.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libxt_TOS.c') diff --git a/extensions/libxt_TOS.c b/extensions/libxt_TOS.c index 74ec2b52..777d7cfb 100644 --- a/extensions/libxt_TOS.c +++ b/extensions/libxt_TOS.c @@ -20,7 +20,7 @@ enum { static const struct option tos_tg_opts_v0[] = { {.name = "set-tos", .has_arg = true, .val = '='}, - {}, + { .name = NULL } }; static const struct option tos_tg_opts[] = { @@ -28,7 +28,7 @@ static const struct option tos_tg_opts[] = { {.name = "and-tos", .has_arg = true, .val = '&'}, {.name = "or-tos", .has_arg = true, .val = '|'}, {.name = "xor-tos", .has_arg = true, .val = '^'}, - {}, + { .name = NULL } }; static void tos_tg_help_v0(void) -- cgit v1.2.3