summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-10-03 18:22:35 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-10-03 18:22:35 +0000
commitbd6da6a5307fe7debd0e791da87c5ec43a278c8d (patch)
tree15e48b9cd2c212847e387617ae0c5672fc2dad9b /usr.bin
parent08c7cd06b92d739a326c5d3b53b71a9e177be6c4 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gprof/gprof.h1
-rw-r--r--usr.bin/gprof/hertz.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index 5e44307456cc..aba2dea0018b 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 7420cd3a9ca3..cf8a3ae68523 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;