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

#include <skalibs/tai.h>

void tai_sub (tai_t *t, tai_t const *u, tai_t const *v)
{
  tai_u64(t, tai_sec(u) - tai_sec(v)) ;
}