summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_rt.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-08 15:59:04 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-08 15:59:04 +0000
commitb060d3194e8020de3449ae38e188520820395387 (patch)
tree1e5ba55b8543497a5e53e3166f4c6656a824eb5a /extensions/libip6t_rt.c
parent7d3cea0c07c003c0555d5da3ca9ebdbdd273acd8 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libip6t_rt.c')
-rw-r--r--extensions/libip6t_rt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c
index a21fd68..efcbf5d 100644
--- a/extensions/libip6t_rt.c
+++ b/extensions/libip6t_rt.c
@@ -30,13 +30,13 @@ IPTABLES_VERSION, IP6T_RT_HOPS);
}
static const struct option opts[] = {
- { "rt-type", 1, 0, '1' },
- { "rt-segsleft", 1, 0, '2' },
- { "rt-len", 1, 0, '3' },
- { "rt-0-res", 0, 0, '4' },
- { "rt-0-addrs", 1, 0, '5' },
- { "rt-0-not-strict", 0, 0, '6' },
- {0}
+ { "rt-type", 1, NULL, '1' },
+ { "rt-segsleft", 1, NULL, '2' },
+ { "rt-len", 1, NULL, '3' },
+ { "rt-0-res", 0, NULL, '4' },
+ { "rt-0-addrs", 1, NULL, '5' },
+ { "rt-0-not-strict", 0, NULL, '6' },
+ { }
};
static u_int32_t