Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Add const.
details: https://anonhg.NetBSD.org/src/rev/f2548bc91e9d
branches: trunk
changeset: 581701:f2548bc91e9d
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jun 03 22:06:24 2005 +0000
description:
Add const.
diffstat:
sys/arch/sparc/dev/bwtwo_obio.c | 6 +++---
sys/arch/sun2/dev/bwtwo_any.c | 6 +++---
sys/dev/sbus/bwtwo_sbus.c | 6 +++---
sys/dev/sun/bwtwo.c | 8 ++++----
sys/dev/sun/bwtwovar.h | 4 ++--
5 files changed, 15 insertions(+), 15 deletions(-)
diffs (133 lines):
diff -r 89855d7fe057 -r f2548bc91e9d sys/arch/sparc/dev/bwtwo_obio.c
--- a/sys/arch/sparc/dev/bwtwo_obio.c Fri Jun 03 22:05:25 2005 +0000
+++ b/sys/arch/sparc/dev/bwtwo_obio.c Fri Jun 03 22:06:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo_obio.c,v 1.12 2003/12/04 12:42:54 keihan Exp $ */
+/* $NetBSD: bwtwo_obio.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo_obio.c,v 1.12 2003/12/04 12:42:54 keihan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo_obio.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -154,7 +154,7 @@
struct eeprom *eep = (struct eeprom *)eeprom_va;
bus_space_handle_t bh;
int constype, isconsole;
- char *name;
+ const char *name;
oba = &uoba->uoba_oba4;
diff -r 89855d7fe057 -r f2548bc91e9d sys/arch/sun2/dev/bwtwo_any.c
--- a/sys/arch/sun2/dev/bwtwo_any.c Fri Jun 03 22:05:25 2005 +0000
+++ b/sys/arch/sun2/dev/bwtwo_any.c Fri Jun 03 22:06:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo_any.c,v 1.12 2005/01/22 15:36:09 chs Exp $ */
+/* $NetBSD: bwtwo_any.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo_any.c,v 1.12 2005/01/22 15:36:09 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo_any.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -151,7 +151,7 @@
struct fbdevice *fb = &sc->sc_fb;
bus_space_handle_t bh;
int isconsole;
- char *name;
+ const char *name;
/* Remember cookies for bwtwo_mmap() */
sc->sc_bustag = ma->ma_bustag;
diff -r 89855d7fe057 -r f2548bc91e9d sys/dev/sbus/bwtwo_sbus.c
--- a/sys/dev/sbus/bwtwo_sbus.c Fri Jun 03 22:05:25 2005 +0000
+++ b/sys/dev/sbus/bwtwo_sbus.c Fri Jun 03 22:06:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo_sbus.c,v 1.15 2004/03/17 17:04:58 pk Exp $ */
+/* $NetBSD: bwtwo_sbus.c,v 1.16 2005/06/03 22:06:25 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo_sbus.c,v 1.15 2004/03/17 17:04:58 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo_sbus.c,v 1.16 2005/06/03 22:06:25 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -154,7 +154,7 @@
struct fbdevice *fb = &sc->sc_fb;
bus_space_handle_t bh;
int isconsole, node;
- char *name;
+ const char *name;
node = sa->sa_node;
diff -r 89855d7fe057 -r f2548bc91e9d sys/dev/sun/bwtwo.c
--- a/sys/dev/sun/bwtwo.c Fri Jun 03 22:05:25 2005 +0000
+++ b/sys/dev/sun/bwtwo.c Fri Jun 03 22:06:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwo.c,v 1.12 2003/12/04 12:42:54 keihan Exp $ */
+/* $NetBSD: bwtwo.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.12 2003/12/04 12:42:54 keihan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bwtwo.c,v 1.13 2005/06/03 22:06:24 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -150,7 +150,7 @@
void
bwtwoattach(sc, name, isconsole)
struct bwtwo_softc *sc;
- char *name;
+ const char *name;
int isconsole;
{
struct fbdevice *fb = &sc->sc_fb;
@@ -183,7 +183,7 @@
printf("\n");
if ((fb->fb_flags & FB_PFOUR) && (sc->sc_ovtype != BWO_NONE)) {
- char *ovnam;
+ const char *ovnam;
switch (sc->sc_ovtype) {
case BWO_CGFOUR:
diff -r 89855d7fe057 -r f2548bc91e9d sys/dev/sun/bwtwovar.h
--- a/sys/dev/sun/bwtwovar.h Fri Jun 03 22:05:25 2005 +0000
+++ b/sys/dev/sun/bwtwovar.h Fri Jun 03 22:06:24 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwtwovar.h,v 1.3 2003/08/07 16:31:23 agc Exp $ */
+/* $NetBSD: bwtwovar.h,v 1.4 2005/06/03 22:06:24 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -98,5 +98,5 @@
void (*sc_set_video)(struct bwtwo_softc *, int);
};
-void bwtwoattach(struct bwtwo_softc *, char *, int);
+void bwtwoattach(struct bwtwo_softc *, const char *, int);
int bwtwo_pfour_probe(void *, void *);
Home |
Main Index |
Thread Index |
Old Index