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 don't include "opt_multiprocessor.h" in...
details: https://anonhg.NetBSD.org/src/rev/923a130d0126
branches: trunk
changeset: 985231:923a130d0126
user: ryo <ryo%NetBSD.org@localhost>
date: Sat Aug 14 17:38:44 2021 +0000
description:
don't include "opt_multiprocessor.h" inside an ifdef to work "make depend" properly.
diffstat:
common/lib/libc/gmon/mcount.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 0cd7b8fe17d5 -r 923a130d0126 common/lib/libc/gmon/mcount.c
--- a/common/lib/libc/gmon/mcount.c Sat Aug 14 17:08:21 2021 +0000
+++ b/common/lib/libc/gmon/mcount.c Sat Aug 14 17:38:44 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcount.c,v 1.14 2019/08/27 22:48:53 kamil Exp $ */
+/* $NetBSD: mcount.c,v 1.15 2021/08/14 17:38:44 ryo Exp $ */
/*
* Copyright (c) 2003, 2004 Wasabi Systems, Inc.
@@ -64,19 +64,19 @@
* SUCH DAMAGE.
*/
-/* If building a standalone libkern, don't include mcount. */
-#if (!defined(_KERNEL) || defined(GPROF)) && !defined(_STANDALONE)
-
#ifdef _KERNEL_OPT
#include "opt_multiprocessor.h"
#endif
+/* If building a standalone libkern, don't include mcount. */
+#if (!defined(_KERNEL) || defined(GPROF)) && !defined(_STANDALONE)
+
#include <sys/cdefs.h>
#if !defined(lint) && !defined(_KERNEL) && defined(LIBC_SCCS)
#if 0
static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: mcount.c,v 1.14 2019/08/27 22:48:53 kamil Exp $");
+__RCSID("$NetBSD: mcount.c,v 1.15 2021/08/14 17:38:44 ryo Exp $");
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index