summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>1998-02-18 06:33:50 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>1998-02-18 06:33:50 +0000
commitbb8b94c34f769ccbb4d124ce2eb111f9bc13eca2 (patch)
treedef039658c7f6bbe1adfb92fa462914cde3e2374 /sys
parent57e7995c24b82c9d9f6c093f5d8626d69e41752d (diff)
unused variables without APERTURE defined...
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/mem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/mem.c b/sys/arch/i386/i386/mem.c
index 49a70552e0c..453b85c87b5 100644
--- a/sys/arch/i386/i386/mem.c
+++ b/sys/arch/i386/i386/mem.c
@@ -1,5 +1,5 @@
/* $NetBSD: mem.c,v 1.31 1996/05/03 19:42:19 christos Exp $ */
-
+/* $OpenBSD: mem.c,v 1.5 1998/02/18 06:33:49 matthieu Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1982, 1986, 1990, 1993
@@ -61,11 +61,13 @@ extern char *vmmap; /* poor name! */
caddr_t zeropage;
/* open counter for aperture */
+#ifdef APERTURE
static int ap_open_count = 0;
extern int allowaperture;
#define VGA_START 0xA0000
#define VGA_END 0xBFFFF
+#endif
/*ARGSUSED*/
int