summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-17 19:34:25 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-17 19:34:25 +0000
commitfdcb54a49f169a60e0c7df0dc7a014374b5d8c84 (patch)
tree6e5a9c5ef75f4c7cb3f77382a7ca5b313e4a57d4 /sys/arch/i386
parent2c20d6ef950384401040f38a609663591301a452 (diff)
Conditionalize variable decls
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/svr4_machdep.c4
1 files changed, 3 insertions, 1 deletions
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)) {