summaryrefslogtreecommitdiff
path: root/lib/libc/gmon/mcount.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:11:07 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:11:07 +0000
commit80c9912a423fbc529a01ca31ab3dd1a5fdfdf0fc (patch)
tree5745ada61549b6f1b31b6ab98f57c7a8b38a8e8a /lib/libc/gmon/mcount.c
parentb980942d8b8cc852140b7d8cb64b0c0815c149b5 (diff)
Protect internal mcount symbol from lint(1)
Use __asm, not asm
Diffstat (limited to 'lib/libc/gmon/mcount.c')
-rw-r--r--lib/libc/gmon/mcount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c
index 6ec117b3f14..fb8f1ac3f2b 100644
--- a/lib/libc/gmon/mcount.c
+++ b/lib/libc/gmon/mcount.c
@@ -177,8 +177,10 @@ overflow:
return;
}
+#ifndef lint
/*
* Actual definition of mcount function. Defined in <machine/profile.h>,
* which is included by <sys/gmon.h>.
*/
MCOUNT
+#endif