diff options
-rw-r--r-- | lib/libc/gmon/mcount.c | 4 | ||||
-rw-r--r-- | sys/i386/include/profile.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c index 8547a9d..c72299d 100644 --- a/lib/libc/gmon/mcount.c +++ b/lib/libc/gmon/mcount.c @@ -65,8 +65,8 @@ void user(void); * both frompcindex and frompc. Any reasonable, modern compiler will * perform this optimization. */ -_MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */ - uintfptr_t frompc, selfpc; +/* _mcount; may be static, inline, etc */ +_MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) { #ifdef GUPROF u_int delta; diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h index 0692eee..4af8184 100644 --- a/sys/i386/include/profile.h +++ b/sys/i386/include/profile.h @@ -148,7 +148,6 @@ __BEGIN_DECLS #ifdef __GNUC__ void mcount(void) __asm(".mcount"); #endif -static void _mcount(uintfptr_t frompc, uintfptr_t selfpc); __END_DECLS #endif /* _KERNEL */ |