summaryrefslogtreecommitdiffstats
path: root/lib/util/time.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-18 12:21:06 +0000
committerJeremy Allison <jra@samba.org>2014-06-30 22:28:14 +0200
commit379cbb6397ce6228cf02125f4f29b2438b384d1c (patch)
tree9ca15d4b93ca15a37d55dc8dd038bf6839725e49 /lib/util/time.h
parentdcd6373613622852181a4dacdcf92ec2b9cb0112 (diff)
downloadsamba-379cbb6397ce6228cf02125f4f29b2438b384d1c.tar.gz
samba-379cbb6397ce6228cf02125f4f29b2438b384d1c.tar.xz
samba-379cbb6397ce6228cf02125f4f29b2438b384d1c.zip
lib: Align nt_time_to_unix_timespec with unix_timespec_to_nt_time
Both take and return values now Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/time.h')
-rw-r--r--lib/util/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/time.h b/lib/util/time.h
index f3ed29b301..8595bb0613 100644
--- a/lib/util/time.h
+++ b/lib/util/time.h
@@ -298,7 +298,7 @@ bool nt_time_equal(NTTIME *t1, NTTIME *t2);
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(const NTTIME *nt);
+struct timespec nt_time_to_unix_timespec(NTTIME nt);
time_t convert_timespec_to_time_t(struct timespec ts);