Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips cast-qual fallout
details: https://anonhg.NetBSD.org/src/rev/66e4773abb89
branches: trunk
changeset: 581441:66e4773abb89
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Jun 01 16:53:07 2005 +0000
description:
cast-qual fallout
diffstat:
sys/arch/mips/mips/mips_machdep.c | 8 ++++----
sys/arch/mips/mips/trap.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 2dbcac498b84 -r 66e4773abb89 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Wed Jun 01 16:49:14 2005 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Wed Jun 01 16:53:07 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.177 2005/01/01 03:25:46 simonb Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.178 2005/06/01 16:53:07 drochner Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -119,7 +119,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.177 2005/01/01 03:25:46 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.178 2005/06/01 16:53:07 drochner Exp $");
#include "opt_cputype.h"
@@ -233,7 +233,7 @@
int cpu_isa; /* -1 == probed (mips32/mips64) */
int cpu_ntlb; /* -1 == unknown, 0 == probed */
int cpu_flags;
- char *cpu_name;
+ const char *cpu_name;
};
/*
@@ -962,7 +962,7 @@
"write-through",
};
static const char * const label = "cpu0"; /* XXX */
- char *cpuname, *fpuname;
+ const char *cpuname, *fpuname;
int i;
cpuname = mycpu->cpu_name;
diff -r 2dbcac498b84 -r 66e4773abb89 sys/arch/mips/mips/trap.c
--- a/sys/arch/mips/mips/trap.c Wed Jun 01 16:49:14 2005 +0000
+++ b/sys/arch/mips/mips/trap.c Wed Jun 01 16:53:07 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.195 2005/05/30 02:26:17 simonb Exp $ */
+/* $NetBSD: trap.c,v 1.196 2005/06/01 16:53:07 drochner Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -78,7 +78,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.195 2005/05/30 02:26:17 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.196 2005/06/01 16:53:07 drochner Exp $");
#include "opt_cputype.h" /* which mips CPU levels do we support? */
#include "opt_ktrace.h"
@@ -960,7 +960,7 @@
#else
#define Name(_fn) { _fn, "_fn"}
#endif
-static struct { void *addr; char *name;} names[] = {
+static struct { void *addr; const char *name;} names[] = {
Name(stacktrace),
Name(stacktrace_subr),
Name(main),
Home |
Main Index |
Thread Index |
Old Index