summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_REJECT.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-08 15:59:04 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-08 15:59:04 +0000
commitb060d3194e8020de3449ae38e188520820395387 (patch)
tree1e5ba55b8543497a5e53e3166f4c6656a824eb5a /extensions/libipt_REJECT.c
parent7d3cea0c07c003c0555d5da3ca9ebdbdd273acd8 (diff)
Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
Diffstat (limited to 'extensions/libipt_REJECT.c')
-rw-r--r--extensions/libipt_REJECT.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c
index 4af3713..90ec163 100644
--- a/extensions/libipt_REJECT.c
+++ b/extensions/libipt_REJECT.c
@@ -51,7 +51,7 @@ static const struct reject_names reject_table[] = {
};
static void
-print_reject_types()
+print_reject_types(void)
{
unsigned int i;
@@ -81,8 +81,8 @@ help(void)
}
static const struct option opts[] = {
- { "reject-with", 1, 0, '1' },
- { 0 }
+ { "reject-with", 1, NULL, '1' },
+ { }
};
/* Allocate and initialize the target. */