Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/hppa/gen use __register_t



details:   https://anonhg.NetBSD.org/src/rev/f0a800ca6d42
branches:  trunk
changeset: 813368:f0a800ca6d42
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 25 16:44:42 2016 +0000

description:
use __register_t

diffstat:

 lib/libc/arch/hppa/gen/__longjmp14.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r c3c3ee624420 -r f0a800ca6d42 lib/libc/arch/hppa/gen/__longjmp14.c
--- a/lib/libc/arch/hppa/gen/__longjmp14.c      Mon Jan 25 16:41:06 2016 +0000
+++ b/lib/libc/arch/hppa/gen/__longjmp14.c      Mon Jan 25 16:44:42 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __longjmp14.c,v 1.5 2012/03/22 12:31:32 skrll Exp $    */
+/*     $NetBSD: __longjmp14.c,v 1.6 2016/01/25 16:44:42 christos Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -50,8 +50,8 @@
 {
        ucontext_t uc;
        struct sigcontext *sc = (void *)env;
-       register_t *regs = (void *)(sc + 1);
-       register register_t dp __asm("r27");
+       __register_t *regs = (void *)(sc + 1);
+       register __register_t dp __asm("r27");
 
        /* Ensure non-zero SP */
        if (sc->sc_sp == 0)



Home | Main Index | Thread Index | Old Index