diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-10-03 18:22:35 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-10-03 18:22:35 +0000 |
commit | bd6da6a5307fe7debd0e791da87c5ec43a278c8d (patch) | |
tree | 15e48b9cd2c212847e387617ae0c5672fc2dad9b /usr.bin/gprof | |
parent | 08c7cd06b92d739a326c5d3b53b71a9e177be6c4 (diff) | |
download | src-bd6da6a5307fe7debd0e791da87c5ec43a278c8d.tar.gz src-bd6da6a5307fe7debd0e791da87c5ec43a278c8d.zip |
Use a proper prototype for hertz().
Notes
Notes:
svn path=/head/; revision=136099
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 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; |