From 7c67d3134ec53a23ac833b10e0de842f21764474 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 22 Mar 2001 05:18:32 +0000 Subject: _wall, err/warn; dummy hppa part, like others --- usr.bin/gprof/tahoe.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.bin/gprof/tahoe.c') diff --git a/usr.bin/gprof/tahoe.c b/usr.bin/gprof/tahoe.c index 505aa3eefd2..246e08976f5 100644 --- a/usr.bin/gprof/tahoe.c +++ b/usr.bin/gprof/tahoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tahoe.c,v 1.2 1996/06/26 05:34:01 deraadt Exp $ */ +/* $OpenBSD: tahoe.c,v 1.3 2001/03/22 05:18:30 mickey Exp $ */ /* $NetBSD: tahoe.c,v 1.5 1995/04/19 07:16:27 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)tahoe.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: tahoe.c,v 1.2 1996/06/26 05:34:01 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tahoe.c,v 1.3 2001/03/22 05:18:30 mickey Exp $"; #endif #endif /* not lint */ @@ -211,7 +211,7 @@ reladdr( modep ) cp += 1; /* skip over the mode */ switch ( mode ) { default: - fprintf( stderr , "[reladdr] not relative address\n" ); + warnx("[reladdr] not relative address"); return (unsigned long) modep; case byterel: return (unsigned long) ( cp + sizeof *cp + *cp ); @@ -226,6 +226,7 @@ reladdr( modep ) } } +void findcall( parentp , p_lowpc , p_highpc ) nltype *parentp; unsigned long p_lowpc; -- cgit v1.2.3