Module Name: src
Committed By: matt
Date: Thu Aug 6 15:58:13 UTC 2009
Modified Files:
src/sys/arch/mips/mips: mips_machdep.c
Log Message:
Make cidnames const
To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/sys/arch/mips/mips/mips_machdep.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/mips/mips/mips_machdep.c
diff -u src/sys/arch/mips/mips/mips_machdep.c:1.212 src/sys/arch/mips/mips/mips_machdep.c:1.213
--- src/sys/arch/mips/mips/mips_machdep.c:1.212 Thu Aug 6 00:46:34 2009
+++ src/sys/arch/mips/mips/mips_machdep.c Thu Aug 6 15:58:12 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.212 2009/08/06 00:46:34 matt Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.213 2009/08/06 15:58:12 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.212 2009/08/06 00:46:34 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.213 2009/08/06 15:58:12 matt Exp $");
#include "opt_cputype.h"
@@ -449,7 +449,7 @@
* Company ID's are not sparse (yet), this array is indexed directly
* by pridtab->cpu_cid.
*/
-static const char *cidnames[] = {
+static const char * const cidnames[] = {
"Prehistoric",
"MIPS", /* or "MIPS Technologies, Inc. */
"Broadcom", /* or "Broadcom Corp." */