Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common tramp and vers are used unconditiona...



details:   https://anonhg.NetBSD.org/src/rev/8880faf31d6b
branches:  trunk
changeset: 581005:8880faf31d6b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri May 20 01:06:50 2005 +0000

description:
tramp and vers are used unconditionally, make them visible everywhere.

diffstat:

 sys/compat/linux/common/linux_signal.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 68df634d7198 -r 8880faf31d6b sys/compat/linux/common/linux_signal.c
--- a/sys/compat/linux/common/linux_signal.c    Fri May 20 00:58:58 2005 +0000
+++ b/sys/compat/linux/common/linux_signal.c    Fri May 20 01:06:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_signal.c,v 1.46 2005/05/19 21:16:29 manu Exp $   */
+/*     $NetBSD: linux_signal.c,v 1.47 2005/05/20 01:06:50 mrg Exp $    */
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.46 2005/05/19 21:16:29 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.47 2005/05/20 01:06:50 mrg Exp $");
 
 #define COMPAT_LINUX 1
 
@@ -291,9 +291,9 @@
        struct linux_sigaction nlsa, olsa;
        struct sigaction nbsa, obsa;
        int error, sig;
-#if defined __amd64__
        void *tramp = NULL;
        int vers = 0;
+#if defined __amd64__
        struct sigacts *ps = p->p_sigacts;
 #endif
 



Home | Main Index | Thread Index | Old Index