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_LOG.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'extensions/libipt_LOG.c') diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c index c0d8177..e983904 100644 --- a/extensions/libipt_LOG.c +++ b/extensions/libipt_LOG.c @@ -33,13 +33,13 @@ IPTABLES_VERSION); } static const struct option opts[] = { - { .name = "log-level", .has_arg = 1, .flag = 0, .val = '!' }, - { .name = "log-prefix", .has_arg = 1, .flag = 0, .val = '#' }, - { .name = "log-tcp-sequence", .has_arg = 0, .flag = 0, .val = '1' }, - { .name = "log-tcp-options", .has_arg = 0, .flag = 0, .val = '2' }, - { .name = "log-ip-options", .has_arg = 0, .flag = 0, .val = '3' }, - { .name = "log-uid", .has_arg = 0, .flag = 0, .val = '4' }, - { .name = 0 } + { .name = "log-level", .has_arg = 1, .val = '!' }, + { .name = "log-prefix", .has_arg = 1, .val = '#' }, + { .name = "log-tcp-sequence", .has_arg = 0, .val = '1' }, + { .name = "log-tcp-options", .has_arg = 0, .val = '2' }, + { .name = "log-ip-options", .has_arg = 0, .val = '3' }, + { .name = "log-uid", .has_arg = 0, .val = '4' }, + { } }; /* Initialize the target. */ -- cgit v1.2.3