summary refs log tree commit diff
path: root/runit-2.1.1/src/taia_uint.c
blob: 8b7f2d4508610040c9d8711fb16f735123ecef18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* Public domain. */

#include "taia.h"

/* XXX: breaks tai encapsulation */

void taia_uint(struct taia *t,unsigned int s)
{
  t->sec.x = s;
  t->nano = 0;
  t->atto = 0;
}