summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/hertz.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-10-03 18:22:35 +0000
committerstefanf <stefanf@FreeBSD.org>2004-10-03 18:22:35 +0000
commitd046f2677cf75e59aeffb80e6cd595932d3b7474 (patch)
tree15e48b9cd2c212847e387617ae0c5672fc2dad9b /usr.bin/gprof/hertz.c
parent2594b3ec4c5941fb573c1c1c82af16035d0e4f1c (diff)
downloadFreeBSD-src-d046f2677cf75e59aeffb80e6cd595932d3b7474.zip
FreeBSD-src-d046f2677cf75e59aeffb80e6cd595932d3b7474.tar.gz
Use a proper prototype for hertz().
Diffstat (limited to 'usr.bin/gprof/hertz.c')
-rw-r--r--usr.bin/gprof/hertz.c3
1 files changed, 2 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud