Subject: kern/19974: "extern struct timeval runtime" in sys/kernel.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hamajima@nagoya.ydc.co.jp>
List: netbsd-bugs
Date: 01/21/2003 14:57:02
>Number: 19974
>Category: kern
>Synopsis: not exist variable "runtime" is defined in sys/kernel.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 20 21:58:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: HAMAJIMA Katsuomi
>Release: NetBSD 1.6M
>Organization:
>Environment:
sys/kernel.h: 1.17
System: NetBSD ppc 1.6M NetBSD 1.6M (8500) #115: Mon Jan 20 23:17:41 JST 2003 hamajima@ppc:/sys/arch/macppc/compile/8500 macppc
Architecture: powerpc
Machine: macppc
>Description:
"extern struct timeval runtime" is defined in sys/kernel.h
but "runtime" is deleted in kern/init_main.c:1.168
>How-To-Repeat:
>Fix:
--- sys/kernel.h 2002/08/07 05:16:27 1.17
+++ sys/kernel.h 2003/01/21 05:51:43
@@ -53,7 +53,6 @@
extern volatile struct timeval mono_time;
extern struct timeval boottime;
-extern struct timeval runtime;
extern volatile struct timeval time;
extern int rtc_offset; /* offset of rtc from UTC in minutes */
>Release-Note:
>Audit-Trail:
>Unformatted: