summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-05 13:06:11 +0200
committerVolker Lendecke <vl@samba.org>2010-08-05 13:57:31 +0200
commit6cb5a0d097e52577e956d3527b753c1bcf124d9d (patch)
tree48b949220fee2bf4013a6685de9763cea21d8658 /source3/lib
parent0a224bc77b9bb59c72b9d79d9e8637837ffd878c (diff)
downloadsamba-6cb5a0d097e52577e956d3527b753c1bcf124d9d.tar.gz
samba-6cb5a0d097e52577e956d3527b753c1bcf124d9d.tar.bz2
samba-6cb5a0d097e52577e956d3527b753c1bcf124d9d.zip
s3: Remove some pointless wrapper functions
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 3a43a5b6cd..bb75f1f70d 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -259,7 +259,7 @@ void dos_filetime_timespec(struct timespec *tsp)
localtime).
********************************************************************/
-static time_t make_unix_date(const void *date_ptr, int zone_offset)
+time_t make_unix_date(const void *date_ptr, int zone_offset)
{
uint32_t dos_date=0;
struct tm t;
@@ -452,22 +452,6 @@ void cli_put_dos_date3(struct cli_state *cli, char *buf, int offset, time_t unix
push_dos_date3((uint8_t *)buf, offset, unixdate, cli->serverzone);
}
-time_t cli_make_unix_date(struct cli_state *cli, const void *date_ptr)
-{
- return make_unix_date(date_ptr, cli->serverzone);
-}
-
-time_t cli_make_unix_date2(struct cli_state *cli, const void *date_ptr)
-{
- return make_unix_date2(date_ptr, cli->serverzone);
-}
-
-time_t cli_make_unix_date3(struct cli_state *cli, const void *date_ptr)
-{
- return make_unix_date3(date_ptr, cli->serverzone);
-}
-
-
/*******************************************************************
Re-read the smb serverzone value.
******************************************************************/