From e7d453379447ac233df4d3bf297bce631de1ba92 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 1 Mar 1998 11:25:29 +0000 Subject: Conditionalize decl --- sys/arch/i386/i386/machdep.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index ed81af25398..5ba73ce47dc 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.82 1998/02/26 20:53:24 weingart Exp $ */ +/* $OpenBSD: machdep.c,v 1.83 1998/03/01 11:25:28 niklas Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -746,7 +746,10 @@ void identifycpu() { extern char cpu_vendor[]; - extern int cpu_id, cpu_feature; + extern int cpu_id; +#if defined(I586_CPU) || defined(I686_CPU) + extern int cpu_feature; +#endif const char *name, *modifier, *vendorname; const char *cpu_device = "cpu0"; int class = CPUCLASS_386, vendor, i, max; -- cgit v1.2.3