diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-10-04 16:24:00 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-10-04 16:24:00 +0000 |
commit | 0463ee1f28946cc49815737daa0ced0c68f39f0b (patch) | |
tree | f29ea212a273f3e9be06601180640c01b4862769 /extensions/libxt_standard.c | |
parent | d3daa435a4790111ac6d6d0b0da2721081160341 (diff) |
Delete empty ->init() functions
Deletes empty ->init() functions. ip[6]tables already
checks for .init being NULL or not.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_standard.c')
-rw-r--r-- | extensions/libxt_standard.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libxt_standard.c b/extensions/libxt_standard.c index ccdb599b..48ba85a2 100644 --- a/extensions/libxt_standard.c +++ b/extensions/libxt_standard.c @@ -16,12 +16,6 @@ help(void) "(If target is DROP, ACCEPT, RETURN or nothing)\n", IPTABLES_VERSION); } -/* Initialize the target. */ -static void -init(struct xt_entry_target *t) -{ -} - /* Function which parses command options; returns true if it ate an option */ static int @@ -51,7 +45,6 @@ struct xtables_target standard = { .size = XT_ALIGN(sizeof(int)), .userspacesize = XT_ALIGN(sizeof(int)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = NULL, @@ -66,7 +59,6 @@ struct xtables_target standard6 = { .size = XT_ALIGN(sizeof(int)), .userspacesize = XT_ALIGN(sizeof(int)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = NULL, |