Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Add const.
details: https://anonhg.NetBSD.org/src/rev/ccd71bb08c5f
branches: trunk
changeset: 581722:ccd71bb08c5f
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jun 04 04:37:21 2005 +0000
description:
Add const.
diffstat:
sys/dev/sbus/cgthree_sbus.c | 6 +++---
sys/dev/sun/cgthree.c | 6 +++---
sys/dev/sun/cgthreevar.h | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (69 lines):
diff -r 8ae7f16395fe -r ccd71bb08c5f sys/dev/sbus/cgthree_sbus.c
--- a/sys/dev/sbus/cgthree_sbus.c Sat Jun 04 04:35:27 2005 +0000
+++ b/sys/dev/sbus/cgthree_sbus.c Sat Jun 04 04:37:21 2005 +0000
@@ -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 @@
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 -r 8ae7f16395fe -r ccd71bb08c5f sys/dev/sun/cgthree.c
--- a/sys/dev/sun/cgthree.c Sat Jun 04 04:35:27 2005 +0000
+++ b/sys/dev/sun/cgthree.c Sat Jun 04 04:37:21 2005 +0000
@@ -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 @@
void
cgthreeattach(sc, name, isconsole)
struct cgthree_softc *sc;
- char *name;
+ const char *name;
int isconsole;
{
int i;
diff -r 8ae7f16395fe -r ccd71bb08c5f sys/dev/sun/cgthreevar.h
--- a/sys/dev/sun/cgthreevar.h Sat Jun 04 04:35:27 2005 +0000
+++ b/sys/dev/sun/cgthreevar.h Sat Jun 04 04:37:21 2005 +0000
@@ -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 @@
union bt_cmap sc_cmap; /* Brooktree color map */
};
-void cgthreeattach(struct cgthree_softc *, char *, int);
+void cgthreeattach(struct cgthree_softc *, const char *, int);
Home |
Main Index |
Thread Index |
Old Index