summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_unclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_unclean.c')
-rw-r--r--extensions/libipt_unclean.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index 6b5bcbf..648d098 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -5,8 +5,7 @@
#include <iptables.h>
/* Function which prints out usage message. */
-static void
-help(void)
+static void unclean_help(void)
{
printf(
"unclean v%s takes no options\n"
@@ -15,25 +14,22 @@ help(void)
/* Function which parses command options; returns true if it
ate an option */
-static int
-parse(int c, char **argv, int invert, unsigned int *flags,
- const void *entry,
- struct xt_entry_match **match)
+static int unclean_parse(int c, char **argv, int invert, unsigned int *flags,
+ const void *entry, struct xt_entry_match **match)
{
return 0;
}
-static
-struct iptables_match unclean = {
+static struct iptables_match unclean_match = {
.name = "unclean",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(0),
.userspacesize = IPT_ALIGN(0),
- .help = &help,
- .parse = &parse,
+ .help = unclean_help,
+ .parse = unclean_parse,
};
void _init(void)
{
- register_match(&unclean);
+ register_match(&unclean_match);
}