summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/i386.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-10-16 13:50:09 +0000
committercharnier <charnier@FreeBSD.org>2002-10-16 13:50:09 +0000
commit064bebe6d3d4f05ecc20524571d6bc4519997bd5 (patch)
treed111768d17cfb105c6bbb279f69b9a271d1a9c41 /usr.bin/gprof/i386.c
parent6dec6a19baa7759402451fa076be28cc26359333 (diff)
downloadFreeBSD-src-064bebe6d3d4f05ecc20524571d6bc4519997bd5.zip
FreeBSD-src-064bebe6d3d4f05ecc20524571d6bc4519997bd5.tar.gz
Remove done() which was just exit() so use of warn()/err() can be made. Abort
on allocation failure instead of displaying a warning and deferencing NULL pointer after. Spelling. Add prototypes. Add list of option in synopsis section of man page, -d is not referenced because available as a compile option. It should be made a runtime option btw.
Diffstat (limited to 'usr.bin/gprof/i386.c')
-rw-r--r--usr.bin/gprof/i386.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/gprof/i386.c b/usr.bin/gprof/i386.c
index 6a47408..c112763 100644
--- a/usr.bin/gprof/i386.c
+++ b/usr.bin/gprof/i386.c
@@ -1,8 +1,12 @@
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "gprof.h"
/*
* gprof -c isn't currently supported...
*/
+void
findcall( parentp , p_lowpc , p_highpc )
nltype *parentp;
unsigned long p_lowpc;
OpenPOWER on IntegriCloud