From 99628713878a61279e42609549b81b1eb71f0b6f Mon Sep 17 00:00:00 2001 From: jmc Date: Mon, 9 May 2005 19:04:50 +0000 Subject: [PATCH] #endif for LINUX_SS_ONSTACK needs to go after linux_sys_sigaltstack or builds break on platforms that don't define it (alpha, sparc) --- sys/compat/linux/common/linux_signal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/linux/common/linux_signal.c b/sys/compat/linux/common/linux_signal.c index ff61f0e9c75d..7df69f641286 100644 --- a/sys/compat/linux/common/linux_signal.c +++ b/sys/compat/linux/common/linux_signal.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_signal.c,v 1.43 2005/05/03 16:26:29 manu Exp $ */ +/* $NetBSD: linux_signal.c,v 1.44 2005/05/09 19:04:50 jmc Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.43 2005/05/03 16:26:29 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.44 2005/05/09 19:04:50 jmc Exp $"); #define COMPAT_LINUX 1 @@ -603,7 +603,6 @@ native_to_linux_sigaltstack(lss, bss) else lss->ss_flags = 0; } -#endif /* LINUX_SS_ONSTACK */ int linux_sys_sigaltstack(l, v, retval) @@ -638,3 +637,4 @@ linux_sys_sigaltstack(l, v, retval) } return 0; } +#endif /* LINUX_SS_ONSTACK */