From c1c7b6cecb848c35c2cead332483ce117552d6bc Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Wed, 6 Jan 2010 19:31:41 +0100 Subject: s3:lib/time: remove unused nt_time_equals we have nt_time_equal doing the same in lib/util/ --- source3/include/proto.h | 1 - source3/lib/time.c | 8 -------- 2 files changed, 9 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index d956ede4c9..af5e564e4b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1059,7 +1059,6 @@ void cli_put_dos_date3(struct cli_state *cli, char *buf, int offset, time_t unix time_t cli_make_unix_date(struct cli_state *cli, const void *date_ptr); time_t cli_make_unix_date2(struct cli_state *cli, const void *date_ptr); time_t cli_make_unix_date3(struct cli_state *cli, const void *date_ptr); -bool nt_time_equals(const NTTIME *nt1, const NTTIME *nt2); void TimeInit(void); void get_process_uptime(struct timeval *ret_time); time_t nt_time_to_unix_abs(const NTTIME *nt); diff --git a/source3/lib/time.c b/source3/lib/time.c index a418c42dd7..7a8b1eb9a7 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -558,14 +558,6 @@ time_t cli_make_unix_date3(struct cli_state *cli, const void *date_ptr) return make_unix_date3(date_ptr, cli->serverzone); } -/**************************************************************************** - Check if two NTTIMEs are the same. -****************************************************************************/ - -bool nt_time_equals(const NTTIME *nt1, const NTTIME *nt2) -{ - return (*nt1 == *nt2); -} /******************************************************************* Re-read the smb serverzone value. -- cgit