Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/mips/gen Use namespace protected types.
details: https://anonhg.NetBSD.org/src/rev/33743dde7824
branches: trunk
changeset: 343182:33743dde7824
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 24 16:01:43 2016 +0000
description:
Use namespace protected types.
diffstat:
lib/libc/arch/mips/gen/longjmp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 62513d91b747 -r 33743dde7824 lib/libc/arch/mips/gen/longjmp.c
--- a/lib/libc/arch/mips/gen/longjmp.c Sun Jan 24 16:00:45 2016 +0000
+++ b/lib/libc/arch/mips/gen/longjmp.c Sun Jan 24 16:01:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: longjmp.c,v 1.5 2012/03/29 19:27:05 christos Exp $ */
+/* $NetBSD: longjmp.c,v 1.6 2016/01/24 16:01:43 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
ucontext_t uc;
/* Ensure non-zero SP and sigcontext magic number is present */
- if (sc->sc_regs[_R_SP] == 0 || sc->sc_regs[_R_ZERO] != (mips_reg_t)0xACEDBADEU)
+ if (sc->sc_regs[_R_SP] == 0 || sc->sc_regs[_R_ZERO] != (__register_t)0xACEDBADEU)
goto err;
/* Ensure non-zero return value */
Home |
Main Index |
Thread Index |
Old Index