From 830132ac9c0d270bf9dcfe85c2464e3fe8c73fb9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 4 Oct 2007 16:24:50 +0000 Subject: 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 --- extensions/libxt_time.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libxt_time.c') diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c index d380f635..a766f110 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, -- cgit v1.2.3