about summary refs log tree commit diff
path: root/src/libstddjb/tain_pack_little.c
blob: b4c6bffb9f6daaa30995962dbcd7ccd1e835367a (plain) (blame)
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 const *t)
{
  uint32_pack(s, t->nano) ;
  tai_pack_little(s+4, &t->sec) ;
}