From 6cb5a0d097e52577e956d3527b753c1bcf124d9d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 5 Aug 2010 13:06:11 +0200 Subject: s3: Remove some pointless wrapper functions --- source3/lib/time.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'source3/lib/time.c') 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. ******************************************************************/ -- cgit