Module Name: src
Committed By: ryo
Date: Sat Aug 14 17:38:44 UTC 2021
Modified Files:
src/common/lib/libc/gmon: mcount.c
Log Message:
don't include "opt_multiprocessor.h" inside an ifdef to work "make depend"
properly.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 src/common/lib/libc/gmon/mcount.c:1.15
--- src/common/lib/libc/gmon/mcount.c:1.14 Tue Aug 27 22:48:53 2019
+++ src/common/lib/libc/gmon/mcount.c Sat Aug 14 17:38:44 2021
@@ -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