Module Name: src Committed By: mrg Date: Mon Jun 8 02:27:08 UTC 2020
Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: make find_cpus() static. To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/arch/sparc/sparc/autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc/sparc/autoconf.c diff -u src/sys/arch/sparc/sparc/autoconf.c:1.259 src/sys/arch/sparc/sparc/autoconf.c:1.260 --- src/sys/arch/sparc/sparc/autoconf.c:1.259 Sun Oct 4 08:15:46 2015 +++ src/sys/arch/sparc/sparc/autoconf.c Mon Jun 8 02:27:08 2020 @@ -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_build(void); 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 @@ matchbyname(device_t parent, cfdata_t cf * 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;