Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Jun 18 16:35:26 CEST 2014 on sn-devel-104
return tm_diff(&tm_utc,tm);
}
-struct timespec nt_time_to_unix_timespec(NTTIME *nt)
+struct timespec nt_time_to_unix_timespec(const NTTIME *nt)
{
int64_t d;
struct timespec ret;
void interpret_dos_date(uint32_t date,int *year,int *month,int *day,int *hour,int *minute,int *second);
-struct timespec nt_time_to_unix_timespec(NTTIME *nt);
+struct timespec nt_time_to_unix_timespec(const NTTIME *nt);
time_t convert_timespec_to_time_t(struct timespec ts);