From: deraadt Date: Wed, 1 May 1996 13:40:17 +0000 (+0000) Subject: from ragge; Updated to work correctly, pointed out by Tom Ivar Helbekkmo X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=70710d3793e7ed93dd0bcbd37f4a56ab8d2143f6;p=openbsd from ragge; Updated to work correctly, pointed out by Tom Ivar Helbekkmo --- diff --git a/usr.bin/gprof/vax.c b/usr.bin/gprof/vax.c index a02893d3973..eb8ee9ce9bf 100644 --- a/usr.bin/gprof/vax.c +++ b/usr.bin/gprof/vax.c @@ -1,4 +1,4 @@ -/* $NetBSD: vax.c,v 1.5 1995/04/19 07:16:30 cgd Exp $ */ +/* $NetBSD: vax.c,v 1.6 1996/04/20 14:56:37 ragge Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)vax.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$NetBSD: vax.c,v 1.5 1995/04/19 07:16:30 cgd Exp $"; +static char rcsid[] = "$NetBSD: vax.c,v 1.6 1996/04/20 14:56:37 ragge Exp $"; #endif #endif /* not lint */ @@ -53,14 +53,17 @@ nltype indirectchild = { (double) 0.0 , /* ticks in this routine */ (double) 0.0 , /* cumulative ticks in children */ (long) 0 , /* how many times called */ + (long) 0 , /* times called by live arcs */ (long) 0 , /* how many calls to self */ (double) 1.0 , /* propagation fraction */ (double) 0.0 , /* self propagation time */ (double) 0.0 , /* child propagation time */ - (bool) 0 , /* print flag */ + (short) 0 , /* print flag */ + (short) 0 , /* see below */ (int) 0 , /* index in the graph list */ (int) 0 , /* graph call chain top-sort order */ (int) 0 , /* internal number of cycle on */ + (int) 0 , /* number of live parent arcs */ (struct nl *) &indirectchild , /* pointer to head of cycle */ (struct nl *) 0 , /* pointer to next member of cycle */ (arctype *) 0 , /* list of caller arcs */