From 6a60602036105df68ba2756235058f64c42caa92 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 6 Oct 1998 03:20:43 +0000 Subject: remove unused arguments from some static functions. (This used to be commit a9e0e5895a671910f315d9e45eca4fe419d815e5) --- source3/lib/time.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/time.c b/source3/lib/time.c index 529f0ceb44..ea96654108 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -337,7 +337,7 @@ BOOL null_mtime(time_t mtime) /******************************************************************* create a 16 bit dos packed date ********************************************************************/ -static uint16 make_dos_date1(time_t unixdate,struct tm *t) +static uint16 make_dos_date1(struct tm *t) { uint16 ret=0; ret = (((unsigned)(t->tm_mon+1)) >> 3) | ((t->tm_year-80) << 1); @@ -348,7 +348,7 @@ static uint16 make_dos_date1(time_t unixdate,struct tm *t) /******************************************************************* create a 16 bit dos packed time ********************************************************************/ -static uint16 make_dos_time1(time_t unixdate,struct tm *t) +static uint16 make_dos_time1(struct tm *t) { uint16 ret=0; ret = ((((unsigned)t->tm_min >> 3)&0x7) | (((unsigned)t->tm_hour) << 3)); @@ -369,8 +369,8 @@ static uint32 make_dos_date(time_t unixdate) if (!t) return 0xFFFFFFFF; - ret = make_dos_date1(unixdate,t); - ret = ((ret&0xFFFF)<<16) | make_dos_time1(unixdate,t); + ret = make_dos_date1(t); + ret = ((ret&0xFFFF)<<16) | make_dos_time1(t); return(ret); } -- cgit