From fdcb54a49f169a60e0c7df0dc7a014374b5d8c84 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 17 Oct 1996 19:34:25 +0000 Subject: Conditionalize variable decls --- sys/arch/i386/i386/svr4_machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/i386/svr4_machdep.c b/sys/arch/i386/i386/svr4_machdep.c index d365cfcf0d3..4bf2d9c5362 100644 --- a/sys/arch/i386/i386/svr4_machdep.c +++ b/sys/arch/i386/i386/svr4_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_machdep.c,v 1.6 1996/05/07 07:21:54 deraadt Exp $ */ +/* $OpenBSD: svr4_machdep.c,v 1.7 1996/10/17 19:34:24 niklas Exp $ */ /* $NetBSD: svr4_machdep.c,v 1.24 1996/05/03 19:42:26 christos Exp $ */ /* @@ -397,8 +397,10 @@ svr4_sys_sysarch(p, v, retval) register_t *retval; { struct svr4_sys_sysarch_args *uap = v; +#ifdef USER_LDT caddr_t sg = stackgap_init(p->p_emul); int error; +#endif *retval = 0; /* XXX: What to do */ switch (SCARG(uap, op)) { -- cgit v1.2.3