summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_conntrack.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/libipt_conntrack.c
parent4a058c1729f22ac6224d7175dc5b310842c0e392 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libipt_conntrack.c')
-rw-r--r--extensions/libipt_conntrack.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/extensions/libipt_conntrack.c b/extensions/libipt_conntrack.c
index 8f74257a..6ee8353c 100644
--- a/extensions/libipt_conntrack.c
+++ b/extensions/libipt_conntrack.c
@@ -44,15 +44,15 @@ help(void)
static const struct option opts[] = {
- { "ctstate", 1, 0, '1' },
- { "ctproto", 1, 0, '2' },
- { "ctorigsrc", 1, 0, '3' },
- { "ctorigdst", 1, 0, '4' },
- { "ctreplsrc", 1, 0, '5' },
- { "ctrepldst", 1, 0, '6' },
- { "ctstatus", 1, 0, '7' },
- { "ctexpire", 1, 0, '8' },
- {0}
+ { "ctstate", 1, NULL, '1' },
+ { "ctproto", 1, NULL, '2' },
+ { "ctorigsrc", 1, NULL, '3' },
+ { "ctorigdst", 1, NULL, '4' },
+ { "ctreplsrc", 1, NULL, '5' },
+ { "ctrepldst", 1, NULL, '6' },
+ { "ctstatus", 1, NULL, '7' },
+ { "ctexpire", 1, NULL, '8' },
+ { }
};
static int