From 0614df8c402691c20096f400a9d1cb5f74653265 Mon Sep 17 00:00:00 2001 From: nectar Date: Tue, 6 Jan 2004 18:49:54 +0000 Subject: Use ANSI C function definition for `_mcount' and remove `static' prototype from header file. Discussed with: bde, maybe one year ago --- lib/libc/gmon/mcount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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; -- cgit v1.1