summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NFQUEUE.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-10-04 16:24:00 +0000
committerPatrick McHardy <kaber@trash.net>2007-10-04 16:24:00 +0000
commit0463ee1f28946cc49815737daa0ced0c68f39f0b (patch)
treef29ea212a273f3e9be06601180640c01b4862769 /extensions/libxt_NFQUEUE.c
parentd3daa435a4790111ac6d6d0b0da2721081160341 (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_NFQUEUE.c')
-rw-r--r--extensions/libxt_NFQUEUE.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libxt_NFQUEUE.c b/extensions/libxt_NFQUEUE.c
index 293ef1f0..f023bbcf 100644
--- a/extensions/libxt_NFQUEUE.c
+++ b/extensions/libxt_NFQUEUE.c
@@ -14,10 +14,6 @@
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_NFQUEUE.h>
-static void init(struct xt_entry_target *t)
-{
-}
-
static void help(void)
{
printf(
@@ -100,7 +96,6 @@ static struct xtables_target nfqueue = {
.size = XT_ALIGN(sizeof(struct xt_NFQ_info)),
.userspacesize = XT_ALIGN(sizeof(struct xt_NFQ_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,
@@ -115,7 +110,6 @@ static struct xtables_target nfqueue6 = {
.size = XT_ALIGN(sizeof(struct xt_NFQ_info)),
.userspacesize = XT_ALIGN(sizeof(struct xt_NFQ_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,