diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-12 20:59:34 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-06-26 21:13:10 +0200 |
commit | 7d68df47fad305673958351a4e2a5c6e75927caa (patch) | |
tree | 96210987615c0838c660e8c420b97937c532b748 /extensions/libxt_standard.c | |
parent | f89c1716a7743ca6e2e6164d3b64c15b2e285e1e (diff) |
extensions: remove empty help and parse functions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_standard.c')
-rw-r--r-- | extensions/libxt_standard.c | 12 |
1 files changed, 0 insertions, 12 deletions
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 <stdio.h> -#include <netdb.h> -#include <string.h> -#include <stdlib.h> -#include <limits.h> -#include <getopt.h> #include <xtables.h> 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) |