runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

taia_uint.c (174B)


      1 /* Public domain. */
      2 
      3 #include "taia.h"
      4 
      5 /* XXX: breaks tai encapsulation */
      6 
      7 void taia_uint(struct taia *t,unsigned int s)
      8 {
      9   t->sec.x = s;
     10   t->nano = 0;
     11   t->atto = 0;
     12 }