MFi386: sys/i386/isa/clock.c revision 1.177

This commit is contained in:
nyan 2001-10-19 11:52:49 +00:00
parent 579f7ab43b
commit d201939dde
3 changed files with 0 additions and 12 deletions

View File

@ -1114,9 +1114,6 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
#ifndef PC98
int yd;
#endif
int year, month;
int y, m, s;
struct timespec ts;
@ -1194,7 +1191,6 @@ inittodr(time_t base)
if ((month > 2) && LEAPYEAR(year))
days ++;
days += readrtc(RTC_DAY) - 1;
yd = days;
for (y = 1970; y < year; y++)
days += DAYSPERYEAR + LEAPYEAR(y);
sec = ((( days * 24 +

View File

@ -1114,9 +1114,6 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
#ifndef PC98
int yd;
#endif
int year, month;
int y, m, s;
struct timespec ts;
@ -1194,7 +1191,6 @@ inittodr(time_t base)
if ((month > 2) && LEAPYEAR(year))
days ++;
days += readrtc(RTC_DAY) - 1;
yd = days;
for (y = 1970; y < year; y++)
days += DAYSPERYEAR + LEAPYEAR(y);
sec = ((( days * 24 +

View File

@ -1114,9 +1114,6 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
#ifndef PC98
int yd;
#endif
int year, month;
int y, m, s;
struct timespec ts;
@ -1194,7 +1191,6 @@ inittodr(time_t base)
if ((month > 2) && LEAPYEAR(year))
days ++;
days += readrtc(RTC_DAY) - 1;
yd = days;
for (y = 1970; y < year; y++)
days += DAYSPERYEAR + LEAPYEAR(y);
sec = ((( days * 24 +