diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-19 21:51:30 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-19 21:51:30 +0000 |
commit | a1c8d94ef80ff7508b919558b8e75cd121d9bbbf (patch) | |
tree | 8d7606120a0d06c49ade6c6e4195783cb0885221 /sys/arch/alpha | |
parent | 60f0cc8b06f6b2a732dba45282047230a78eab47 (diff) |
Fix a compile warning
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/pci/pci_machdep.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/pci_machdep.c b/sys/arch/alpha/pci/pci_machdep.c index f24271a68c3..e457fb3b7aa 100644 --- a/sys/arch/alpha/pci/pci_machdep.c +++ b/sys/arch/alpha/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.7 1997/01/24 19:57:52 niklas Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.8 1997/04/19 21:51:29 tholo Exp $ */ /* $NetBSD: pci_machdep.c,v 1.7 1996/11/19 04:57:32 cgd Exp $ */ /* @@ -63,7 +63,10 @@ pci_display_console(iot, memt, pc, bus, device, function) { pcitag_t tag; pcireg_t id, class; - int match, nmatch; + int match; +#if NVGA_PCI || NTGA + int nmatch; +#endif void (*fn) __P((bus_space_tag_t, bus_space_tag_t, pci_chipset_tag_t, int, int, int)); |