diff options
author | nyan <nyan@FreeBSD.org> | 2001-10-19 11:52:49 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-10-19 11:52:49 +0000 |
commit | d201939ddea9aa3f224e829b74818867422b8767 (patch) | |
tree | d486711dd445c168edd01e8e84167f0c9b6a67ed /sys/pc98 | |
parent | 579f7ab43b227bd52258d5c96fde39ff2663fefa (diff) | |
download | FreeBSD-src-d201939ddea9aa3f224e829b74818867422b8767.zip FreeBSD-src-d201939ddea9aa3f224e829b74818867422b8767.tar.gz |
MFi386: sys/i386/isa/clock.c revision 1.177
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/clock.c | 4 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 14eb0a1..6d3e095 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -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 + diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index 14eb0a1..6d3e095 100644 --- a/sys/pc98/cbus/pcrtc.c +++ b/sys/pc98/cbus/pcrtc.c @@ -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 + diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c index 14eb0a1..6d3e095 100644 --- a/sys/pc98/pc98/clock.c +++ b/sys/pc98/pc98/clock.c @@ -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 + |