aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1999-01-28 11:36:22 +0000
committerKATO Takenori <kato@FreeBSD.org>1999-01-28 11:36:22 +0000
commit22cd7960a26b734ac43e0de2cfd8c8170420dfc6 (patch)
tree9155bbeac71e3de3d0ee5b922662d7505439acb2
parent4d8efbff6975fb22996e9e6dd248f685006d66bd (diff)
downloadsrc-22cd7960a26b734ac43e0de2cfd8c8170420dfc6.tar.gz
src-22cd7960a26b734ac43e0de2cfd8c8170420dfc6.zip
The "easy" fixe for compiling the kernel -Wunused: remove unreferenced
local variable.
Notes
Notes: svn path=/head/; revision=43339
-rw-r--r--sys/pc98/cbus/clock.c4
-rw-r--r--sys/pc98/cbus/pcrtc.c4
-rw-r--r--sys/pc98/pc98/clock.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 1225f3157d4c..067257d77e1e 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.64 1998/10/23 13:13:43 kato Exp $
+ * $Id: clock.c,v 1.65 1998/12/17 08:54:47 kato Exp $
*/
/*
@@ -1077,7 +1077,9 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
+#ifndef PC98
int yd;
+#endif
int year, month;
int y, m, s;
struct timespec ts;
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 1225f3157d4c..067257d77e1e 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.64 1998/10/23 13:13:43 kato Exp $
+ * $Id: clock.c,v 1.65 1998/12/17 08:54:47 kato Exp $
*/
/*
@@ -1077,7 +1077,9 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
+#ifndef PC98
int yd;
+#endif
int year, month;
int y, m, s;
struct timespec ts;
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 1225f3157d4c..067257d77e1e 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id: clock.c,v 1.64 1998/10/23 13:13:43 kato Exp $
+ * $Id: clock.c,v 1.65 1998/12/17 08:54:47 kato Exp $
*/
/*
@@ -1077,7 +1077,9 @@ void
inittodr(time_t base)
{
unsigned long sec, days;
+#ifndef PC98
int yd;
+#endif
int year, month;
int y, m, s;
struct timespec ts;