Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 const poison to avoid a warning.



details:   https://anonhg.NetBSD.org/src/rev/1efbb2128af6
branches:  trunk
changeset: 499931:1efbb2128af6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Dec 02 03:57:26 2000 +0000

description:
const poison to avoid a warning.

diffstat:

 sys/arch/sparc64/sparc64/trap.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r b11ff2ccd2b0 -r 1efbb2128af6 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c   Sat Dec 02 03:03:14 2000 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c   Sat Dec 02 03:57:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.54 2000/09/28 19:56:13 eeh Exp $ */
+/*     $NetBSD: trap.c,v 1.55 2000/12/02 03:57:26 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1779,10 +1779,10 @@
        register struct trapframe64 *tf;
        register_t pc;
 {
-       register int i, nsys, nap;
-       register int64_t *ap;
-       register struct sysent *callp;
-       register struct proc *p;
+       int i, nsys, nap;
+       int64_t *ap;
+       const struct sysent *callp;
+       struct proc *p;
        int error = 0, new;
        union args {
                register32_t i[8];



Home | Main Index | Thread Index | Old Index