FreeBSD/contrib/ntp/libntp/ntp_calendar.c
/*
 *---------------------------------------------------------------------
 * take a 'struct calendar' and get the seconds-of-day from it.
 *---------------------------------------------------------------------
 */
take a 'struct calendar' and get the seconds-of-day from it.
take a ' struct calendar ' and get the seconds - of - day from it .
int32_t
ntpcal_date_to_daysec(
	const struct calendar *jd
	)
{
	return ntpcal_etime_to_seconds(jd->hour, jd->minute,
				       jd->second);
}
int32_t ntpcal_date_to_daysec ( const struct calendar * jd ) { return ntpcal_etime_to_seconds ( jd -> hour , jd -> minute , jd -> second ) ; }
take a 'struct calendar' and get the seconds-of-day from it.
take a ' struct calendar ' and get the seconds - of - day from it .