Add const.

This commit is contained in:
tsutsui 2005-06-04 04:37:21 +00:00
parent b22c03af41
commit 435d547a7c
3 changed files with 8 additions and 8 deletions

View File

@ -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() */

View File

@ -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;

View File

@ -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);