Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/dev minor constify



details:   https://anonhg.NetBSD.org/src/rev/52adbb5283bd
branches:  trunk
changeset: 753757:52adbb5283bd
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Apr 09 11:27:21 2010 +0000

description:
minor constify

diffstat:

 sys/arch/atari/dev/ser.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 457b452ce7bc -r 52adbb5283bd sys/arch/atari/dev/ser.c
--- a/sys/arch/atari/dev/ser.c  Fri Apr 09 11:09:03 2010 +0000
+++ b/sys/arch/atari/dev/ser.c  Fri Apr 09 11:27:21 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ser.c,v 1.49 2010/04/09 11:09:03 tsutsui Exp $ */
+/*     $NetBSD: ser.c,v 1.50 2010/04/09 11:27:21 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.49 2010/04/09 11:09:03 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ser.c,v 1.50 2010/04/09 11:27:21 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mbtype.h"
@@ -1058,7 +1058,7 @@
        int code;
        uint8_t rsr;
        int s;
-       static int lsrmap[8] = {
+       static const int lsrmap[8] = {
                0,      TTY_PE,
                TTY_FE, TTY_PE|TTY_FE,
                TTY_FE, TTY_PE|TTY_FE,



Home | Main Index | Thread Index | Old Index