summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_unpack_little.c
blob: 278d494b0cafc0104c447516fd0730dcdadfc448 (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 *t)
{
  uint32_unpack(s, &t->nano) ;
  tai_unpack_little(s+4, &t->sec) ;
}