summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_addsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/tain_addsec.c')
-rw-r--r--src/libstddjb/tain_addsec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/tain_addsec.c b/src/libstddjb/tain_addsec.c
index cd22b18..c580444 100644
--- a/src/libstddjb/tain_addsec.c
+++ b/src/libstddjb/tain_addsec.c
@@ -3,16 +3,16 @@
#include <skalibs/uint64.h>
#include <skalibs/tai.h>
-int tain_addsec (tain_t *b, tain_t const *a, int c)
+int tain_addsec (tain *b, tain const *a, int c)
{
if (c >= 0)
{
- tai_t t = { .x = (uint64_t)c } ;
+ tai t = { .x = (uint64_t)c } ;
tai_add(&b->sec, &a->sec, &t) ;
}
else
{
- tai_t t = { .x = (uint64_t)-c } ;
+ tai t = { .x = (uint64_t)-c } ;
tai_sub(&b->sec, &a->sec, &t) ;
}
b->nano = a->nano ;