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/libxt_standard.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'extensions/libxt_standard.c') diff --git a/extensions/libxt_standard.c b/extensions/libxt_standard.c index 56dc2d29..c64ba297 100644 --- a/extensions/libxt_standard.c +++ b/extensions/libxt_standard.c @@ -1,10 +1,5 @@ /* Shared library add-on to iptables for standard target support. */ #include -#include -#include -#include -#include -#include #include static void standard_help(void) @@ -14,12 +9,6 @@ static void standard_help(void) "(If target is DROP, ACCEPT, RETURN or nothing)\n"); } -static int standard_parse(int c, char **argv, int invert, unsigned int *flags, - const void *entry, struct xt_entry_target **target) -{ - return 0; -} - static struct xtables_target standard_target = { .family = NFPROTO_UNSPEC, .name = "standard", @@ -27,7 +16,6 @@ static struct xtables_target standard_target = { .size = XT_ALIGN(sizeof(int)), .userspacesize = XT_ALIGN(sizeof(int)), .help = standard_help, - .parse = standard_parse, }; void _init(void) -- cgit v1.2.3