summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_CLUSTERIP.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_CLUSTERIP.c
parent4a058c1729f22ac6224d7175dc5b310842c0e392 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libipt_CLUSTERIP.c')
-rw-r--r--extensions/libipt_CLUSTERIP.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/libipt_CLUSTERIP.c b/extensions/libipt_CLUSTERIP.c
index afc78233..384dbdf0 100644
--- a/extensions/libipt_CLUSTERIP.c
+++ b/extensions/libipt_CLUSTERIP.c
@@ -45,13 +45,13 @@ IPTABLES_VERSION);
#define PARAM_HASHINIT 0x0020
static const struct option opts[] = {
- { "new", 0, 0, '1' },
- { "hashmode", 1, 0, '2' },
- { "clustermac", 1, 0, '3' },
- { "total-nodes", 1, 0, '4' },
- { "local-node", 1, 0, '5' },
- { "hash-init", 1, 0, '6' },
- { 0 }
+ { "new", 0, NULL, '1' },
+ { "hashmode", 1, NULL, '2' },
+ { "clustermac", 1, NULL, '3' },
+ { "total-nodes", 1, NULL, '4' },
+ { "local-node", 1, NULL, '5' },
+ { "hash-init", 1, NULL, '6' },
+ { }
};
static void