Add const.

This commit is contained in:
rjs 2005-06-09 22:01:06 +00:00
parent f34c276ab5
commit a51d4c4377
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu.c,v 1.32 2005/01/15 16:00:59 chs Exp $ */
/* $NetBSD: fpu.c,v 1.33 2005/06/09 22:01:06 rjs Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.32 2005/01/15 16:00:59 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.33 2005/06/09 22:01:06 rjs Exp $");
#include "opt_fpu_emulate.h"
@ -75,7 +75,7 @@ fpu_match(struct device *parent, struct cfdata *cf, void *aux)
return 1;
}
static char *fpu_descr[] = {
static const char *fpu_descr[] = {
#ifdef FPU_EMULATE
"emulator", /* 0 */
#else
@ -90,7 +90,7 @@ static char *fpu_descr[] = {
static void
fpu_attach(struct device *parent, struct device *self, void *args)
{
char *descr;
const char *descr;
fputype = fpu_probe();