make auto const variables static.

This commit is contained in:
yamt 2002-06-08 16:03:55 +00:00
parent fed3639fa8
commit 737ffe3619
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx3912video.c,v 1.28 2002/04/13 09:29:54 takemura Exp $ */
/* $NetBSD: tx3912video.c,v 1.29 2002/06/08 16:03:55 yamt Exp $ */
/*-
* Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@ -136,7 +136,7 @@ tx3912video_attach(struct device *parent, struct device *self, void *aux)
{
struct tx3912video_softc *sc = (void *)self;
struct video_chip *chip;
const char *depth_print[] = {
static const char *depth_print[] = {
[TX3912_VIDEOCTRL1_BITSEL_MONOCHROME] = "monochrome",
[TX3912_VIDEOCTRL1_BITSEL_2BITGREYSCALE] = "2bit greyscale",
[TX3912_VIDEOCTRL1_BITSEL_4BITGREYSCALE] = "4bit greyscale",
@ -703,7 +703,7 @@ void
tx3912video_clut_install(void *ctx, struct rasops_info *ri)
{
struct tx3912video_softc *sc = ctx;
const int system_cmap[0x10] = {
static const int system_cmap[0x10] = {
TX3912VIDEO_BLACK,
TX3912VIDEO_RED,
TX3912VIDEO_GREEN,