summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-01-28 11:36:22 +0000
committerkato <kato@FreeBSD.org>1999-01-28 11:36:22 +0000
commitdddbbc64795e2657bb640d89695102019733f7aa (patch)
treeca1b5dc500c3f9986dcbf35e2744546ab492423a
parent718f8ca983bd1a80b8ed0091a08b279f5d4dfcfe (diff)
downloadFreeBSD-src-dddbbc64795e2657bb640d89695102019733f7aa.zip
FreeBSD-src-dddbbc64795e2657bb640d89695102019733f7aa.tar.gz
The "easy" fixe for compiling the kernel -Wunused: remove unreferenced
local variable.
-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 1225f31..067257d 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 1225f31..067257d 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 1225f31..067257d 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;
OpenPOWER on IntegriCloud