Fixed breakage of the GPROF case of statclock() in the previous commit.

This commit is contained in:
Bruce Evans 1998-10-26 06:13:18 +00:00
parent 60a53b7d32
commit fffd686a31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40657
2 changed files with 4 additions and 2 deletions

View File

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

View File

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