Home
last modified time | relevance | path

Searched refs:unitsptr (Results 1 – 1 of 1) sorted by relevance

/src/contrib/ntp/libntp/
H A Dmktime.c116 int * unitsptr, in normalize() argument
120 if (*unitsptr >= base) { in normalize()
121 *tensptr += *unitsptr / base; in normalize()
122 *unitsptr %= base; in normalize()
123 } else if (*unitsptr < 0) { in normalize()
125 *unitsptr += base; in normalize()
126 if (*unitsptr < 0) { in normalize()
127 *tensptr -= 1 + (-*unitsptr) / base; in normalize()
128 *unitsptr = base - (-*unitsptr) % base; in normalize()