diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2005-06-04 04:37:21 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2005-06-04 04:37:21 +0000 |
| commit | 435d547a7c0f04b09dec85b4efcee9f267d708e2 (patch) | |
| tree | b29080104817384de7373831bf99d413ede48c8d /sys/dev | |
| parent | b22c03af4193b78e2c5c6fa4c2551316dbc680a8 (diff) | |
Add const.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sbus/cgthree_sbus.c | 6 | ||||
| -rw-r--r-- | sys/dev/sun/cgthree.c | 6 | ||||
| -rw-r--r-- | sys/dev/sun/cgthreevar.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/sbus/cgthree_sbus.c b/sys/dev/sbus/cgthree_sbus.c index a59155a5628..3f59419d197 100644 --- a/sys/dev/sbus/cgthree_sbus.c +++ b/sys/dev/sbus/cgthree_sbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgthree_sbus.c,v 1.14 2004/03/17 17:04:58 pk Exp $ */ +/* $NetBSD: cgthree_sbus.c,v 1.15 2005/06/04 04:37:21 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -85,7 +85,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cgthree_sbus.c,v 1.14 2004/03/17 17:04:58 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cgthree_sbus.c,v 1.15 2005/06/04 04:37:21 tsutsui Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -152,7 +152,7 @@ cgthreeattach_sbus(parent, self, args) struct fbdevice *fb = &sc->sc_fb; int node = sa->sa_node; int isconsole; - char *name; + const char *name; bus_space_handle_t bh; /* Remember cookies for cgthree_mmap() */ diff --git a/sys/dev/sun/cgthree.c b/sys/dev/sun/cgthree.c index eaeef78758b..e58be10a965 100644 --- a/sys/dev/sun/cgthree.c +++ b/sys/dev/sun/cgthree.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgthree.c,v 1.10 2003/08/25 17:50:30 uwe Exp $ */ +/* $NetBSD: cgthree.c,v 1.11 2005/06/04 04:37:21 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -45,7 +45,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.10 2003/08/25 17:50:30 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cgthree.c,v 1.11 2005/06/04 04:37:21 tsutsui Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -108,7 +108,7 @@ struct cg3_videoctrl { void cgthreeattach(sc, name, isconsole) struct cgthree_softc *sc; - char *name; + const char *name; int isconsole; { int i; diff --git a/sys/dev/sun/cgthreevar.h b/sys/dev/sun/cgthreevar.h index aec5e9636fb..fa04d592fd4 100644 --- a/sys/dev/sun/cgthreevar.h +++ b/sys/dev/sun/cgthreevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: cgthreevar.h,v 1.2 2002/03/11 16:01:57 pk Exp $ */ +/* $NetBSD: cgthreevar.h,v 1.3 2005/06/04 04:37:21 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -51,4 +51,4 @@ struct cgthree_softc { union bt_cmap sc_cmap; /* Brooktree color map */ }; -void cgthreeattach(struct cgthree_softc *, char *, int); +void cgthreeattach(struct cgthree_softc *, const char *, int); |
