--- src/lib/libc/gmon/mcount.c 2004/10/25 19:38:01 1.4 +++ src/lib/libc/gmon/mcount.c 2005/11/13 01:18:20 1.5 @@ -62,9 +62,10 @@ void user (void); * Note: the original BSD code used the same variable (frompcindex) for * both frompcindex and frompc. Any reasonable, modern compiler will * perform this optimization. + * + * _mcount; may be static, inline, etc */ -_MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ - uintfptr_t frompc, selfpc; +_MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) { #ifdef GUPROF u_int delta; @@ -277,8 +278,7 @@ MCOUNT #ifdef GUPROF void -mexitcount(selfpc) - uintfptr_t selfpc; +mexitcount(uintfptr_t selfpc) { struct gmonparam *p; uintfptr_t selfpcdiff;