summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-06 19:31:41 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-07 00:49:49 +0100
commitc1c7b6cecb848c35c2cead332483ce117552d6bc (patch)
treeb7240d00cbd87a4c9cde7842c91c385df555154f /source3
parentd5995eec7e5fd487b57b8805095ffbc74796411a (diff)
downloadsamba-c1c7b6cecb848c35c2cead332483ce117552d6bc.tar.gz
samba-c1c7b6cecb848c35c2cead332483ce117552d6bc.tar.bz2
samba-c1c7b6cecb848c35c2cead332483ce117552d6bc.zip
s3:lib/time: remove unused nt_time_equals
we have nt_time_equal doing the same in lib/util/
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/time.c8
2 files changed, 0 insertions, 9 deletions
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.