diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2002-10-16 13:50:09 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2002-10-16 13:50:09 +0000 |
commit | 97fa9b77399b799457a0e59000391966367c07d4 (patch) | |
tree | d111768d17cfb105c6bbb279f69b9a271d1a9c41 /usr.bin/gprof/hertz.c | |
parent | b0a07322f5a6ce5759f5ed1d4550d8a31c4a227d (diff) | |
download | src-97fa9b77399b799457a0e59000391966367c07d4.tar.gz src-97fa9b77399b799457a0e59000391966367c07d4.zip |
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.
Notes
Notes:
svn path=/head/; revision=105243
Diffstat (limited to 'usr.bin/gprof/hertz.c')
-rw-r--r-- | usr.bin/gprof/hertz.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/gprof/hertz.c b/usr.bin/gprof/hertz.c index 41b455f6e1e7..7420cd3a9ca3 100644 --- a/usr.bin/gprof/hertz.c +++ b/usr.bin/gprof/hertz.c @@ -31,9 +31,14 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static char sccsid[] = "@(#)hertz.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/time.h> |