From 737ffe361995e76ed36568280b4454f3247e650a Mon Sep 17 00:00:00 2001 From: yamt Date: Sat, 8 Jun 2002 16:03:55 +0000 Subject: [PATCH] make auto const variables static. --- sys/arch/hpcmips/tx/tx3912video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/hpcmips/tx/tx3912video.c b/sys/arch/hpcmips/tx/tx3912video.c index b350c86ff557..20947941a912 100644 --- a/sys/arch/hpcmips/tx/tx3912video.c +++ b/sys/arch/hpcmips/tx/tx3912video.c @@ -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,