From 7d68df47fad305673958351a4e2a5c6e75927caa Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 12 Jun 2009 20:59:34 +0200 Subject: extensions: remove empty help and parse functions Signed-off-by: Jan Engelhardt --- extensions/libipt_unclean.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'extensions/libipt_unclean.c') diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c index 93d9013e..bc4a4a08 100644 --- a/extensions/libipt_unclean.c +++ b/extensions/libipt_unclean.c @@ -1,28 +1,12 @@ /* Shared library add-on to iptables for unclean. */ -#include -#include -#include #include -static void unclean_help(void) -{ - printf("unclean match takes no options\n"); -} - -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 xtables_match unclean_mt_reg = { .name = "unclean", .version = XTABLES_VERSION, .family = NFPROTO_IPV4, .size = XT_ALIGN(0), .userspacesize = XT_ALIGN(0), - .help = unclean_help, - .parse = unclean_parse, }; void _init(void) -- cgit v1.2.3