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_multiport.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_multiport.c')
-rw-r--r-- | extensions/libxt_multiport.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/extensions/libxt_multiport.c b/extensions/libxt_multiport.c index d47c3724..9abd13eb 100644 --- a/extensions/libxt_multiport.c +++ b/extensions/libxt_multiport.c @@ -133,12 +133,6 @@ parse_multi_ports_v1(const char *portstring, free(buffer); } -/* Initialize the match. */ -static void -init(struct xt_entry_match *m) -{ -} - static const char * check_proto(u_int16_t pnum, u_int8_t invflags) { @@ -523,7 +517,6 @@ static struct xtables_match multiport = { .size = XT_ALIGN(sizeof(struct xt_multiport)), .userspacesize = XT_ALIGN(sizeof(struct xt_multiport)), .help = &help, - .init = &init, .parse = &parse, .final_check = &final_check, .print = &print, @@ -539,7 +532,6 @@ static struct xtables_match multiport6 = { .size = XT_ALIGN(sizeof(struct xt_multiport)), .userspacesize = XT_ALIGN(sizeof(struct xt_multiport)), .help = &help, - .init = &init, .parse = &parse6, .final_check = &final_check, .print = &print6, @@ -555,7 +547,6 @@ static struct xtables_match multiport_v1 = { .size = XT_ALIGN(sizeof(struct xt_multiport_v1)), .userspacesize = XT_ALIGN(sizeof(struct xt_multiport_v1)), .help = &help_v1, - .init = &init, .parse = &parse_v1, .final_check = &final_check, .print = &print_v1, @@ -571,7 +562,6 @@ static struct xtables_match multiport6_v1 = { .size = XT_ALIGN(sizeof(struct xt_multiport_v1)), .userspacesize = XT_ALIGN(sizeof(struct xt_multiport_v1)), .help = &help_v1, - .init = &init, .parse = &parse6_v1, .final_check = &final_check, .print = &print6_v1, |