summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_CONNMARK.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:24:00 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-10-04 16:24:00 +0000
commit39e512ce0d96670eded22483a94bc4dcb34b4ae0 (patch)
treef29ea212a273f3e9be06601180640c01b4862769 /extensions/libxt_CONNMARK.c
parent402d34e55b04c367c20863a8e40b41da945fd6b4 (diff)
[PATCH 02/14] 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_CONNMARK.c')
-rw-r--r--extensions/libxt_CONNMARK.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libxt_CONNMARK.c b/extensions/libxt_CONNMARK.c
index 4bb068e..9a13074 100644
--- a/extensions/libxt_CONNMARK.c
+++ b/extensions/libxt_CONNMARK.c
@@ -56,12 +56,6 @@ static const struct option opts[] = {
{ }
};
-/* 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
@@ -207,7 +201,6 @@ static struct xtables_target connmark_target = {
.size = XT_ALIGN(sizeof(struct xt_connmark_target_info)),
.userspacesize = XT_ALIGN(sizeof(struct xt_connmark_target_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,
@@ -222,7 +215,6 @@ static struct xtables_target connmark_target6 = {
.size = XT_ALIGN(sizeof(struct xt_connmark_target_info)),
.userspacesize = XT_ALIGN(sizeof(struct xt_connmark_target_info)),
.help = &help,
- .init = &init,
.parse = &parse,
.final_check = &final_check,
.print = &print,