summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_ah.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-09-08 15:59:04 +0000
committerPatrick McHardy <kaber@trash.net>2007-09-08 15:59:04 +0000
commit500f483fff529dcd88ec96b9d5054be6cd6363a0 (patch)
tree1e5ba55b8543497a5e53e3166f4c6656a824eb5a /extensions/libip6t_ah.c
parent4a058c1729f22ac6224d7175dc5b310842c0e392 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libip6t_ah.c')
-rw-r--r--extensions/libip6t_ah.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libip6t_ah.c b/extensions/libip6t_ah.c
index e96ba201..3b6126ca 100644
--- a/extensions/libip6t_ah.c
+++ b/extensions/libip6t_ah.c
@@ -21,10 +21,10 @@ IPTABLES_VERSION);
}
static const struct option opts[] = {
- { .name = "ahspi", .has_arg = 1, .flag = 0, .val = '1' },
- { .name = "ahlen", .has_arg = 1, .flag = 0, .val = '2' },
- { .name = "ahres", .has_arg = 0, .flag = 0, .val = '3' },
- { .name = 0 }
+ { .name = "ahspi", .has_arg = 1, .val = '1' },
+ { .name = "ahlen", .has_arg = 1, .val = '2' },
+ { .name = "ahres", .has_arg = 0, .val = '3' },
+ { }
};
static u_int32_t