summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/lookup.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2013-02-14 08:16:03 +0000
committercharnier <charnier@FreeBSD.org>2013-02-14 08:16:03 +0000
commit8426ce9b0af88e9ddadfb8a5ed2ae5f188d6d148 (patch)
tree0fd70126051947a8ec39b5ece7632c62a6cf469f /usr.bin/gprof/lookup.c
parentf061b4d30288fe6652257e99f3e156532f5ed792 (diff)
downloadFreeBSD-src-8426ce9b0af88e9ddadfb8a5ed2ae5f188d6d148.zip
FreeBSD-src-8426ce9b0af88e9ddadfb8a5ed2ae5f188d6d148.tar.gz
rework old-style functions prototypes
reduce WARNS=6 output
Diffstat (limited to 'usr.bin/gprof/lookup.c')
-rw-r--r--usr.bin/gprof/lookup.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/gprof/lookup.c b/usr.bin/gprof/lookup.c
index 2561360..0ef1e0b 100644
--- a/usr.bin/gprof/lookup.c
+++ b/usr.bin/gprof/lookup.c
@@ -44,8 +44,7 @@ __FBSDID("$FreeBSD$");
* entry point.
*/
nltype *
-nllookup( address )
- unsigned long address;
+nllookup(unsigned long address)
{
register long low;
register long middle;
@@ -90,9 +89,7 @@ nllookup( address )
}
arctype *
-arclookup( parentp , childp )
- nltype *parentp;
- nltype *childp;
+arclookup(nltype *parentp, nltype *childp)
{
arctype *arcp;
OpenPOWER on IntegriCloud