Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k Add const.



details:   https://anonhg.NetBSD.org/src/rev/29fa88528aba
branches:  trunk
changeset: 581910:29fa88528aba
user:      rjs <rjs%NetBSD.org@localhost>
date:      Thu Jun 09 22:01:06 2005 +0000

description:
Add const.

diffstat:

 sys/arch/mac68k/mac68k/fpu.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r bb251580c290 -r 29fa88528aba sys/arch/mac68k/mac68k/fpu.c
--- a/sys/arch/mac68k/mac68k/fpu.c      Thu Jun 09 22:00:40 2005 +0000
+++ b/sys/arch/mac68k/mac68k/fpu.c      Thu Jun 09 22:01:06 2005 +0000
@@ -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 @@
        return 1;
 }
 
-static char *fpu_descr[] = {
+static const char *fpu_descr[] = {
 #ifdef FPU_EMULATE
        "emulator",             /* 0 */
 #else
@@ -90,7 +90,7 @@
 static void
 fpu_attach(struct device *parent, struct device *self, void *args)
 {
-       char *descr;
+       const char *descr;
 
        fputype = fpu_probe();
 



Home | Main Index | Thread Index | Old Index