diff options
author | bde <bde@FreeBSD.org> | 1998-10-26 06:13:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-26 06:13:18 +0000 |
commit | 1fcef92d07b5703db37d85bbbd57154b05ece69f (patch) | |
tree | 560cbef7fbf588b2016e8f64442eb45109dc6472 /sys/kern | |
parent | 1f7615e10ae633a40d231d083af293e2a6ac00d2 (diff) | |
download | FreeBSD-src-1fcef92d07b5703db37d85bbbd57154b05ece69f.zip FreeBSD-src-1fcef92d07b5703db37d85bbbd57154b05ece69f.tar.gz |
Fixed breakage of the GPROF case of statclock() in the previous commit.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_clock.c | 3 | ||||
-rw-r--r-- | sys/kern/kern_tc.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index c2163a4..00c75ed 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.81 1998/10/23 10:44:52 phk Exp $ + * $Id: kern_clock.c,v 1.82 1998/10/25 17:44:50 phk Exp $ */ #include <sys/param.h> @@ -355,6 +355,7 @@ statclock(frame) { #ifdef GPROF register struct gmonparam *g; + int i; #endif register struct proc *p; struct pstats *pstats; diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index c2163a4..00c75ed 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.81 1998/10/23 10:44:52 phk Exp $ + * $Id: kern_clock.c,v 1.82 1998/10/25 17:44:50 phk Exp $ */ #include <sys/param.h> @@ -355,6 +355,7 @@ statclock(frame) { #ifdef GPROF register struct gmonparam *g; + int i; #endif register struct proc *p; struct pstats *pstats; |