Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 make trap_type[] const



details:   https://anonhg.NetBSD.org/src/rev/f0b55d8de7dc
branches:  trunk
changeset: 499523:f0b55d8de7dc
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Nov 21 21:27:04 2000 +0000

description:
make trap_type[] const

diffstat:

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

diffs (18 lines):

diff -r 68b7b219c6b5 -r f0b55d8de7dc sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Tue Nov 21 21:13:23 2000 +0000
+++ b/sys/arch/i386/i386/trap.c Tue Nov 21 21:27:04 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.141 2000/11/21 00:37:50 jdolecek Exp $      */
+/*     $NetBSD: trap.c,v 1.142 2000/11/21 21:27:04 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -191,7 +191,7 @@
        curcpu()->ci_schedstate.spc_curpriority = p->p_priority;
 }
 
-char   *trap_type[] = {
+const char *trap_type[] = {
        "privileged instruction fault",         /*  0 T_PRIVINFLT */
        "breakpoint trap",                      /*  1 T_BPTFLT */
        "arithmetic trap",                      /*  2 T_ARITHTRAP */



Home | Main Index | Thread Index | Old Index