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/libip6t_hbh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libip6t_hbh.c') diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c index f8753bb9..10525758 100644 --- a/extensions/libip6t_hbh.c +++ b/extensions/libip6t_hbh.c @@ -29,7 +29,7 @@ static const struct option hbh_opts[] = { { "hbh-len", 1, NULL, '1' }, { "hbh-opts", 1, NULL, '2' }, { "hbh-not-strict", 1, NULL, '3' }, - { } + { .name = NULL } }; static u_int32_t @@ -162,7 +162,7 @@ static int hbh_parse(int c, char **argv, int invert, unsigned int *flags, } static void -print_options(int optsnr, u_int16_t *optsp) +print_options(unsigned optsnr, u_int16_t *optsp) { unsigned int i; -- cgit v1.2.3