diff options
author | Patrick McHardy <kaber@trash.net> | 2007-09-08 15:59:04 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-09-08 15:59:04 +0000 |
commit | 500f483fff529dcd88ec96b9d5054be6cd6363a0 (patch) | |
tree | 1e5ba55b8543497a5e53e3166f4c6656a824eb5a /extensions/libipt_CLUSTERIP.c | |
parent | 4a058c1729f22ac6224d7175dc5b310842c0e392 (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.c | 14 |
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 |