summaryrefslogtreecommitdiff
path: root/src/libstddjb/tai_add.c
blob: ad481eabb9ccc572dedf65e85fea607fb4ae2d91 (plain)
1
2
3
4
5
6
7
8
/* ISC license. */

#include <skalibs/tai.h>

int tai_add (tai_t *t, tai_t const *u, tai_t const *v)
{
  return tai_u64(t, tai_sec(u) + tai_sec(v)) ;
}