Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/401a8af2a1cc
branches:  trunk
changeset: 581627:401a8af2a1cc
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 03 12:08:50 2005 +0000

description:
Add const.

diffstat:

 sys/arch/arc/arc/c_jazz_eisa.c  |  6 +++---
 sys/arch/arc/include/platform.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r d6e93be6f38b -r 401a8af2a1cc sys/arch/arc/arc/c_jazz_eisa.c
--- a/sys/arch/arc/arc/c_jazz_eisa.c    Fri Jun 03 11:59:17 2005 +0000
+++ b/sys/arch/arc/arc/c_jazz_eisa.c    Fri Jun 03 12:08:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: c_jazz_eisa.c,v 1.10 2005/01/22 07:56:28 tsutsui Exp $ */
+/*     $NetBSD: c_jazz_eisa.c,v 1.11 2005/06/03 12:08:50 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1998
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: c_jazz_eisa.c,v 1.10 2005/01/22 07:56:28 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: c_jazz_eisa.c,v 1.11 2005/06/03 12:08:50 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -85,7 +85,7 @@
 #include <dev/ic/comvar.h>
 #endif
 
-char *c_jazz_eisa_mainbusdevs[] = {
+const char *c_jazz_eisa_mainbusdevs[] = {
        "jazzio",
        "jazzisabr",
        NULL,
diff -r d6e93be6f38b -r 401a8af2a1cc sys/arch/arc/include/platform.h
--- a/sys/arch/arc/include/platform.h   Fri Jun 03 11:59:17 2005 +0000
+++ b/sys/arch/arc/include/platform.h   Fri Jun 03 12:08:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: platform.h,v 1.5 2005/01/22 08:43:02 tsutsui Exp $     */
+/*     $NetBSD: platform.h,v 1.6 2005/06/03 12:08:50 tsutsui Exp $     */
 /*     NetBSD: cpuconf.h,v 1.12 2000/06/08 03:10:06 thorpej Exp        */
 
 /*
@@ -83,7 +83,7 @@
 void c_isa_init(void);
 void c_isa_cons_init(void);
 
-extern char *c_jazz_eisa_mainbusdevs[];
+extern const char *c_jazz_eisa_mainbusdevs[];
 void c_jazz_eisa_init(void);
 void c_jazz_eisa_cons_init(void);
 



Home | Main Index | Thread Index | Old Index