diff options
author | Max Kellermann <max@duempel.org> | 2008-01-29 13:48:05 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-01-29 13:48:05 +0000 |
commit | 9ee386a1b6d7704b259460152c959ab0e79e02aa (patch) | |
tree | 13f39ec579024d42beb0ce6509b0c935dbe8ca03 /extensions/libip6t_dst.c | |
parent | fe05c768f877bcc69c13d7a9cb1d2b33ef56f600 (diff) |
fix gcc warnings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'extensions/libip6t_dst.c')
-rw-r--r-- | extensions/libip6t_dst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c index 4b4dcf91..9e4d8705 100644 --- a/extensions/libip6t_dst.c +++ b/extensions/libip6t_dst.c @@ -26,7 +26,7 @@ static const struct option dst_opts[] = { { .name = "dst-len", .has_arg = 1, .val = '1' }, { .name = "dst-opts", .has_arg = 1, .val = '2' }, { .name = "dst-not-strict", .has_arg = 1, .val = '3' }, - { } + { .name = NULL } }; static u_int32_t @@ -168,7 +168,7 @@ static int dst_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; |