FreeBSD/contrib/ntp/ntpd/ntp_leapsec.c
/* ---------------------------------------------------------------------
 * Clear all leap second data. Use it for init & cleanup
 */
Clear all leap second data. Use it for init & cleanup
Clear all leap second data . Use it for init & cleanup
void
leapsec_clear(
	leap_table_t * pt)
{
	memset(&pt->lsig, 0, sizeof(pt->lsig));
	memset(&pt->head, 0, sizeof(pt->head));
	reset_times(pt);
}
void leapsec_clear ( leap_table_t * pt ) { memset ( & pt -> lsig , 0 , sizeof ( pt -> lsig ) ) ; memset ( & pt -> head , 0 , sizeof ( pt -> head ) ) ; reset_times ( pt ) ; }
Clear all leap second data.
Clear all leap second data .