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

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

void tain_pack_little (char *s, tain_t const *t)
{
  uint32_pack(s, t->nano) ;
  tai_pack_little(s+4, &t->sec) ;
}