Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/stand/boot constify



details:   https://anonhg.NetBSD.org/src/rev/0fdec32e6565
branches:  trunk
changeset: 1021741:0fdec32e6565
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Jun 15 18:54:34 2021 +0000

description:
constify

diffstat:

 sys/arch/luna68k/stand/boot/trap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4c0d190cf121 -r 0fdec32e6565 sys/arch/luna68k/stand/boot/trap.c
--- a/sys/arch/luna68k/stand/boot/trap.c        Tue Jun 15 18:23:39 2021 +0000
+++ b/sys/arch/luna68k/stand/boot/trap.c        Tue Jun 15 18:54:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.1 2013/01/05 17:44:24 tsutsui Exp $ */
+/*     $NetBSD: trap.c,v 1.2 2021/06/15 18:54:34 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -77,7 +77,7 @@
 
 #define        USER    040             /* user-mode flag added to type */
 
-char   *trap_type[] = {
+const char *trap_type[] = {
        "Bus error",
        "Address error",
        "Illegal instruction",



Home | Main Index | Thread Index | Old Index