summaryrefslogtreecommitdiff
path: root/usr.bin/gprof/tahoe.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-22 05:18:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-22 05:18:32 +0000
commit7c67d3134ec53a23ac833b10e0de842f21764474 (patch)
treeec4a490e5d7334da26e387cd944fda31666ca810 /usr.bin/gprof/tahoe.c
parentd93057278dedc689aefd0a88d48d49744ff95d9f (diff)
_wall, err/warn; dummy hppa part, like others
Diffstat (limited to 'usr.bin/gprof/tahoe.c')
-rw-r--r--usr.bin/gprof/tahoe.c7
1 files changed, 4 insertions, 3 deletions
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;