Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Add '#define' for _MCONTEXT_TO_SIGCONT...



details:   https://anonhg.NetBSD.org/src/rev/761d21688242
branches:  trunk
changeset: 541783:761d21688242
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 18 13:03:17 2003 +0000

description:
Add '#define' for _MCONTEXT_TO_SIGCONTEXT().

diffstat:

 sys/arch/mips/include/signal.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 34f4aff55615 -r 761d21688242 sys/arch/mips/include/signal.h
--- a/sys/arch/mips/include/signal.h    Sat Jan 18 12:28:59 2003 +0000
+++ b/sys/arch/mips/include/signal.h    Sat Jan 18 13:03:17 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.16 2003/01/17 23:36:09 thorpej Exp $      */
+/*     $NetBSD: signal.h,v 1.17 2003/01/18 13:03:17 tsutsui Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -95,7 +95,7 @@
  * signal handlers, and converting back (in the event the handler modifies
  * the context).
  */
-_MCONTEXT_TO_SIGCONTEXT(uc, sc)                                                \
+#define        _MCONTEXT_TO_SIGCONTEXT(uc, sc)                                 \
 do {                                                                   \
        (sc)->sc_pc = (uc)->uc_mcontext.__gregs[_REG_EPC];              \
        memcpy((sc)->sc_regs, (uc)->uc_mcontext.__gregs,                \



Home | Main Index | Thread Index | Old Index