aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gmon
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2004-01-06 18:49:54 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2004-01-06 18:49:54 +0000
commit1d0342a3d5e8789055e426f426d2ed05d9169e1e (patch)
treeb98dff73130ded34bde940e9653c1914bdcdf53c /lib/libc/gmon
parentb06cf654be3ded238b43e144b7ae78836cff7ef1 (diff)
downloadsrc-1d0342a3d5e8789055e426f426d2ed05d9169e1e.tar.gz
src-1d0342a3d5e8789055e426f426d2ed05d9169e1e.zip
Use ANSI C function definition for `_mcount' and remove `static'
prototype from header file. Discussed with: bde, maybe one year ago
Notes
Notes: svn path=/head/; revision=124180
Diffstat (limited to 'lib/libc/gmon')
-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 8547a9d9528a..c72299da8a19 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;