Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/gmon remove lint exclusion



details:   https://anonhg.NetBSD.org/src/rev/2e847b6b1991
branches:  trunk
changeset: 985557:2e847b6b1991
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 30 12:52:32 2021 +0000

description:
remove lint exclusion

diffstat:

 common/lib/libc/gmon/mcount.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r ade7221d37ff -r 2e847b6b1991 common/lib/libc/gmon/mcount.c
--- a/common/lib/libc/gmon/mcount.c     Mon Aug 30 09:18:17 2021 +0000
+++ b/common/lib/libc/gmon/mcount.c     Mon Aug 30 12:52:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcount.c,v 1.16 2021/08/14 17:51:18 ryo Exp $  */
+/*     $NetBSD: mcount.c,v 1.17 2021/08/30 12:52:32 christos Exp $     */
 
 /*
  * Copyright (c) 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
 #if 0
 static char sccsid[] = "@(#)mcount.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: mcount.c,v 1.16 2021/08/14 17:51:18 ryo Exp $");
+__RCSID("$NetBSD: mcount.c,v 1.17 2021/08/30 12:52:32 christos Exp $");
 #endif
 #endif
 
@@ -95,13 +95,11 @@
 struct gmonparam *_m_gmon_alloc(void);
 #endif
 
-#ifndef __LINT__
 _MCOUNT_DECL(u_long, u_long)
 #ifdef _KERNEL
     __attribute__((__no_instrument_function__))
 #endif
     __used;
-#endif
 
 /* XXX: make these interfaces */
 #ifdef _RUMPKERNEL
@@ -128,7 +126,6 @@
  * both frompcindex and frompc.  Any reasonable, modern compiler will
  * perform this optimization.
  */
-#ifndef __LINT__
 /* _mcount; may be static, inline, etc */
 _MCOUNT_DECL(u_long frompc, u_long selfpc)
 {
@@ -275,7 +272,6 @@
 #endif
        return;
 }
-#endif
 
 #ifdef MCOUNT
 /*



Home | Main Index | Thread Index | Old Index