summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_from_localtmn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_from_localtmn.c')
-rw-r--r--src/libstddjb/tain_from_localtmn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/tain_from_localtmn.c b/src/libstddjb/tain_from_localtmn.c
index 3a71889..a9a669f 100644
--- a/src/libstddjb/tain_from_localtmn.c
+++ b/src/libstddjb/tain_from_localtmn.c
@@ -2,9 +2,9 @@
#include <skalibs/djbtime.h>
-int tain_from_localtmn (tain_t *a, localtmn_t const *l)
+int tain_from_localtmn (tain *a, localtmn const *l)
{
- tai_t t ;
+ tai t ;
if (!tai_from_localtm(&t, &l->tm)) return 0 ;
a->sec = t ;
a->nano = l->nano ;