diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-10-03 18:22:35 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-10-03 18:22:35 +0000 |
commit | d046f2677cf75e59aeffb80e6cd595932d3b7474 (patch) | |
tree | 15e48b9cd2c212847e387617ae0c5672fc2dad9b /usr.bin/gprof | |
parent | 2594b3ec4c5941fb573c1c1c82af16035d0e4f1c (diff) | |
download | FreeBSD-src-d046f2677cf75e59aeffb80e6cd595932d3b7474.zip FreeBSD-src-d046f2677cf75e59aeffb80e6cd595932d3b7474.tar.gz |
Use a proper prototype for hertz().
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r-- | usr.bin/gprof/gprof.h | 1 | ||||
-rw-r--r-- | usr.bin/gprof/hertz.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h index 5e44307..aba2dea 100644 --- a/usr.bin/gprof/gprof.h +++ b/usr.bin/gprof/gprof.h @@ -290,6 +290,7 @@ void getpfile(char *); gprofheader(); gprofline(); */ +int hertz(void); void inheritflags(nltype *); int kernel_getnfile(const char *, char ***); /* diff --git a/usr.bin/gprof/hertz.c b/usr.bin/gprof/hertz.c index 7420cd3..cf8a3ae 100644 --- a/usr.bin/gprof/hertz.c +++ b/usr.bin/gprof/hertz.c @@ -48,7 +48,8 @@ __FBSDID("$FreeBSD$"); */ #define HZ_WRONG 0 -hertz() +int +hertz(void) { struct itimerval tim; |