summaryrefslogtreecommitdiff
path: root/sys/dev/sun
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2005-06-04 04:37:21 +0000
committertsutsui <tsutsui@NetBSD.org>2005-06-04 04:37:21 +0000
commit435d547a7c0f04b09dec85b4efcee9f267d708e2 (patch)
treeb29080104817384de7373831bf99d413ede48c8d /sys/dev/sun
parentb22c03af4193b78e2c5c6fa4c2551316dbc680a8 (diff)
Add const.
Diffstat (limited to 'sys/dev/sun')
-rw-r--r--sys/dev/sun/cgthree.c6
-rw-r--r--sys/dev/sun/cgthreevar.h4
2 files changed, 5 insertions, 5 deletions
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);