summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-06 18:49:54 +0000
committernectar <nectar@FreeBSD.org>2004-01-06 18:49:54 +0000
commit0614df8c402691c20096f400a9d1cb5f74653265 (patch)
treeb98dff73130ded34bde940e9653c1914bdcdf53c /lib/libc
parent2a49481bc74d7cb1c5930071bbb34ee3349c21c0 (diff)
downloadFreeBSD-src-0614df8c402691c20096f400a9d1cb5f74653265.zip
FreeBSD-src-0614df8c402691c20096f400a9d1cb5f74653265.tar.gz
Use ANSI C function definition for `_mcount' and remove `static'
prototype from header file. Discussed with: bde, maybe one year ago
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gmon/mcount.c4
1 files changed, 2 insertions, 2 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;
OpenPOWER on IntegriCloud