FreeBSD/contrib/ntp/ntpd/ntp_leapsec.c
/* reset the global state for unit tests */
reset the global state for unit tests
reset the global state for unit tests
void
leapsec_ut_pristine(void)
{
	memset(_ltab, 0, sizeof(_ltab));
	_lptr     = NULL;
	_electric = 0;
}
void leapsec_ut_pristine ( void ) { memset ( _ltab , 0 , sizeof ( _ltab ) ) ; _lptr = NULL ; _electric = 0 ; }
reset the global state for unit tests
reset the global state for unit tests