summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-06 03:20:43 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-06 03:20:43 +0000
commit6a60602036105df68ba2756235058f64c42caa92 (patch)
tree52793ce64510339d4c926c1b56d6930fb31a0bae /source3/lib
parent0f87638b5f1da264ce99a5ca0d6d9170b7292364 (diff)
downloadsamba-6a60602036105df68ba2756235058f64c42caa92.tar.gz
samba-6a60602036105df68ba2756235058f64c42caa92.tar.bz2
samba-6a60602036105df68ba2756235058f64c42caa92.zip
remove unused arguments from some static functions.
(This used to be commit a9e0e5895a671910f315d9e45eca4fe419d815e5)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/time.c8
1 files changed, 4 insertions, 4 deletions
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);
}