The "easy" fixe for compiling the kernel -Wunused: remove unreferenced

local variable.
This commit is contained in:
KATO Takenori 1999-01-28 11:36:22 +00:00
parent 4d8efbff69
commit 22cd7960a2
3 changed files with 9 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;