s3:lib/time: remove unused nt_time_equals
authorBjörn Jacke <bj@sernet.de>
Wed, 6 Jan 2010 18:31:41 +0000 (19:31 +0100)
committerBjörn Jacke <bj@sernet.de>
Wed, 6 Jan 2010 23:49:49 +0000 (00:49 +0100)
we have nt_time_equal doing the same in lib/util/

source3/include/proto.h
source3/lib/time.c

index d956ede4c964e58612aecb3bc5fe4447233c6876..af5e564e4b250a3bd51a19c16e3df2ee359f591d 100644 (file)
@@ -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);
index a418c42dd76747ebc433ad74fc8acfcf10c25610..7a8b1eb9a7b485943dd7a1ee62a50cbe17532961 100644 (file)
@@ -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.