Module Name: src Committed By: christos Date: Mon Aug 30 12:52:32 UTC 2021
Modified Files: src/common/lib/libc/gmon: mcount.c Log Message: remove lint exclusion To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/common/lib/libc/gmon/mcount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/gmon/mcount.c diff -u src/common/lib/libc/gmon/mcount.c:1.16 src/common/lib/libc/gmon/mcount.c:1.17 --- src/common/lib/libc/gmon/mcount.c:1.16 Sat Aug 14 13:51:18 2021 +++ src/common/lib/libc/gmon/mcount.c Mon Aug 30 08:52:32 2021 @@ -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 @@ extern struct gmonparam _gmondummy; 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 @@ _MCOUNT_DECL(u_long, u_long) * 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 @@ overflow: #endif return; } -#endif #ifdef MCOUNT /*