summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_time.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:50 +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:50 +0000
commitbce702101149d31162e1a2851a268f07824f3d6b (patch)
tree780486eb33c8b6ff11d760260823f07cc2805822 /extensions/libxt_time.c
parent39e512ce0d96670eded22483a94bc4dcb34b4ae0 (diff)
[PATCH 03/14] Delete empty ->final_check() functions
Deletes empty ->final_check() functions, and makes ip[6]tables checks for NULL on these. Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_time.c')
-rw-r--r--extensions/libxt_time.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c
index d380f63..a766f11 100644
--- a/extensions/libxt_time.c
+++ b/extensions/libxt_time.c
@@ -326,10 +326,6 @@ static int time_parse(int c, char **argv, int invert, unsigned int *flags,
return 0;
}
-static void time_check(unsigned int flags)
-{
-}
-
static void time_print_date(time_t date, const char *command)
{
struct tm *t;
@@ -476,7 +472,6 @@ static struct xtables_match time_reg = {
.help = time_help,
.init = time_init,
.parse = time_parse,
- .final_check = time_check,
.print = time_print,
.save = time_save,
.extra_opts = time_opts,
@@ -491,7 +486,6 @@ static struct xtables_match time6_reg = {
.help = time_help,
.init = time_init,
.parse = time_parse,
- .final_check = time_check,
.print = time_print,
.save = time_save,
.extra_opts = time_opts,