summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-18 01:23:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-18 01:23:23 +0000
commit59fbc9b06fe115246aa2defa3e656ec8f351bf41 (patch)
treecdb67857125478e4995ae5fc8bd27a7006249800
parent9d863ab45f098081ccb8d083dd784d2b7b493990 (diff)
unused variable if no apm and no pcibios conditions; pt out by chris@
-rw-r--r--sys/arch/i386/i386/bios.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 73150916d7b..70e26a27e12 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.31 2000/08/17 22:08:09 mickey Exp $ */
+/* $OpenBSD: bios.c,v 1.32 2000/08/18 01:23:22 mickey Exp $ */
/*
* Copyright (c) 1997-2000 Michael Shalayeff
@@ -120,7 +120,9 @@ biosattach(parent, self, aux)
void *aux;
{
struct bios_softc *sc = (struct bios_softc *) self;
+#if (NPCI > 0 && NPCIBIOS > 0) || NAPM > 0
struct bios_attach_args *bia = aux;
+#endif
u_int8_t *va;
char *str;
int flags;