Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/cobalt/cobalt Add const and fix for -Wshadow.
details: https://anonhg.NetBSD.org/src/rev/58f94097e6d3
branches: trunk
changeset: 581728:58f94097e6d3
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jun 04 06:07:01 2005 +0000
description:
Add const and fix for -Wshadow.
diffstat:
sys/arch/cobalt/cobalt/machdep.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 14b24299a70e -r 58f94097e6d3 sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c Sat Jun 04 06:05:38 2005 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c Sat Jun 04 06:07:01 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.53 2005/04/25 15:02:03 lukem Exp $ */
+/* $NetBSD: machdep.c,v 1.54 2005/06/04 06:07:01 tsutsui Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.53 2005/04/25 15:02:03 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.54 2005/06/04 06:07:01 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -135,11 +135,10 @@
caddr_t kernend, v;
u_long first, last;
extern char edata[], end[];
- char *bi_msg;
+ const char *bi_msg;
#if NKSYMS || defined(DDB) || defined(LKM)
int nsym = 0;
caddr_t ssym = 0;
- caddr_t esym = 0;
struct btinfo_symtab *bi_syms;
#endif
Home |
Main Index |
Thread Index |
Old Index