Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc make find_cpus() static.
details: https://anonhg.NetBSD.org/src/rev/7e4187aaa7c6
branches: trunk
changeset: 1010822:7e4187aaa7c6
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jun 08 02:27:08 2020 +0000
description:
make find_cpus() static.
diffstat:
sys/arch/sparc/sparc/autoconf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 3af9a121d109 -r 7e4187aaa7c6 sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c Mon Jun 08 01:33:27 2020 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c Mon Jun 08 02:27:08 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.259 2015/10/04 08:15:46 joerg Exp $ */
+/* $NetBSD: autoconf.c,v 1.260 2020/06/08 02:27:08 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.259 2015/10/04 08:15:46 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.260 2020/06/08 02:27:08 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -144,7 +144,7 @@
static void bootpath_fake(struct bootpath *, const char *);
static void bootpath_print(struct bootpath *);
static struct bootpath *bootpath_store(int, struct bootpath *);
-int find_cpus(void);
+static int find_cpus(void);
char machine_model[100];
#ifdef DEBUG
@@ -172,7 +172,7 @@
* Get the number of CPUs in the system and the CPUs' SPARC architecture
* version. We need this information early in the boot process.
*/
-int
+static int
find_cpus(void)
{
int n;
Home |
Main Index |
Thread Index |
Old Index