From b060d3194e8020de3449ae38e188520820395387 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sat, 8 Sep 2007 15:59:04 +0000 Subject: Fix sparse warnings: non-ANSI function declarations, 0 used as pointer --- extensions/libipt_addrtype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libipt_addrtype.c') diff --git a/extensions/libipt_addrtype.c b/extensions/libipt_addrtype.c index c3fd3c8..2036ed9 100644 --- a/extensions/libipt_addrtype.c +++ b/extensions/libipt_addrtype.c @@ -180,9 +180,9 @@ static void save(const void *ip, } static const struct option opts[] = { - { "src-type", 1, 0, '1' }, - { "dst-type", 1, 0, '2' }, - { 0 } + { "src-type", 1, NULL, '1' }, + { "dst-type", 1, NULL, '2' }, + { } }; static -- cgit v1.2.3