From 1c032ec5855551c44b88f94fc35fa87db4279f0a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 9 Jan 2015 01:00:59 +0000 Subject: tai conversion functions overhaul. API change -> rc for 2.2.0.0 Doc updated. --- src/libstddjb/sysclock_from_localtmn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libstddjb/sysclock_from_localtmn.c') diff --git a/src/libstddjb/sysclock_from_localtmn.c b/src/libstddjb/sysclock_from_localtmn.c index 7b227d2..a0ee34b 100644 --- a/src/libstddjb/sysclock_from_localtmn.c +++ b/src/libstddjb/sysclock_from_localtmn.c @@ -5,9 +5,7 @@ int sysclock_from_localtmn (tain_t *a, localtmn_t const *l) { - uint64 u ; - if (!sysclock_from_localtm(&u, &l->tm)) return 0 ; - tai_u64(&a->sec, u) ; + if (!sysclock_from_localtm(&a->sec.x, &l->tm)) return 0 ; a->nano = l->nano ; return 1 ; } -- cgit v1.2.3