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

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

void tain_unpack_little (char const *s, tain *t)
{
  uint32_unpack(s, &t->nano) ;
  tai_unpack_little(s+4, &t->sec) ;
}