diff options
author | charnier <charnier@FreeBSD.org> | 2002-10-16 13:50:09 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-10-16 13:50:09 +0000 |
commit | 064bebe6d3d4f05ecc20524571d6bc4519997bd5 (patch) | |
tree | d111768d17cfb105c6bbb279f69b9a271d1a9c41 /usr.bin/gprof/sparc.c | |
parent | 6dec6a19baa7759402451fa076be28cc26359333 (diff) | |
download | FreeBSD-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/sparc.c')
-rw-r--r-- | usr.bin/gprof/sparc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/gprof/sparc.c b/usr.bin/gprof/sparc.c index 513a525..553071c3 100644 --- a/usr.bin/gprof/sparc.c +++ b/usr.bin/gprof/sparc.c @@ -35,9 +35,14 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static char sccsid[] = "@(#)sparc.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "gprof.h" |