Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/tx constify.



details:   https://anonhg.NetBSD.org/src/rev/1b6e58c4b9a9
branches:  trunk
changeset: 532491:1b6e58c4b9a9
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Jun 08 16:34:06 2002 +0000

description:
constify.

diffstat:

 sys/arch/hpcmips/tx/tx3912video.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4ac50983448f -r 1b6e58c4b9a9 sys/arch/hpcmips/tx/tx3912video.c
--- a/sys/arch/hpcmips/tx/tx3912video.c Sat Jun 08 16:20:24 2002 +0000
+++ b/sys/arch/hpcmips/tx/tx3912video.c Sat Jun 08 16:34:06 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tx3912video.c,v 1.29 2002/06/08 16:03:55 yamt Exp $ */
+/*     $NetBSD: tx3912video.c,v 1.30 2002/06/08 16:34:06 yamt Exp $ */
 
 /*-
  * Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
@@ -136,7 +136,7 @@
 {
        struct tx3912video_softc *sc = (void *)self;
        struct video_chip *chip;
-       static const char *depth_print[] = { 
+       static const char *const depth_print[] = { 
                [TX3912_VIDEOCTRL1_BITSEL_MONOCHROME] = "monochrome",
                [TX3912_VIDEOCTRL1_BITSEL_2BITGREYSCALE] = "2bit greyscale",
                [TX3912_VIDEOCTRL1_BITSEL_4BITGREYSCALE] = "4bit greyscale",



Home | Main Index | Thread Index | Old Index