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

#include <skalibs/uint32.h>
#include <skalibs/tai.h>

void tain_pack (char *s, tain_t const *t)
{
  tai_pack(s, &t->sec) ;
  uint32_pack_big(s+8, t->nano) ;
}