FreeBSD/contrib/ntp/libntp/ntp_calendar.c
/*
 *---------------------------------------------------------------------
 * Convert elapsed years in Era into elapsed days in Era.
 *---------------------------------------------------------------------
 */
Convert elapsed years in Era into elapsed days in Era.
Convert elapsed years in Era into elapsed days in Era .
int32_t
ntpcal_days_in_years(
	int32_t years
	)
{
	return years * DAYSPERYEAR + ntpcal_leapyears_in_years(years);
}
int32_t ntpcal_days_in_years ( int32_t years ) { return years * DAYSPERYEAR + ntpcal_leapyears_in_years ( years ) ; }
Convert elapsed years in Era into elapsed days in Era.
Convert elapsed years in Era into elapsed days in Era .