FreeBSD/contrib/ntp/ntpdate/ntpdate.c
/*
 * server_data - add a sample to the server's filter registers
 */
add a sample to the server's filter registers
add a sample to the server ' s filter registers
static void
server_data(
	register struct server *server,
	s_fp d,
	l_fp *c,
	u_fp e
	)
{
	u_short i;
	i = server->filter_nextpt;
	if (i < NTP_SHIFT) {
		server->filter_delay[i] = d;
		server->filter_offset[i] = *c;
		server->filter_soffset[i] = LFPTOFP(c);
		server->filter_error[i] = e;
		server->filter_nextpt = (u_short)(i + 1);
	}
}
static void server_data ( register struct server * server , s_fp d , l_fp * c , u_fp e ) { u_short i ; i = server -> filter_nextpt ; if ( i < NTP_SHIFT ) { server -> filter_delay [ i ] = d ; server -> filter_offset [ i ] = * c ; server -> filter_soffset [ i ] = LFPTOFP ( c ) ; server -> filter_error [ i ] = e ; server -> filter_nextpt = ( u_short ) ( i + 1 ) ; } }
server_data - add a sample to the server's filter registers
server_data - add a sample to the server ' s filter registers