diff options
author | bde <bde@FreeBSD.org> | 1998-05-08 07:56:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-08 07:56:48 +0000 |
commit | c6240f5b9e526e3baa5faeff6a53205b06b4987e (patch) | |
tree | 4d0e403b26904b2d461c051ca2f0c4acd15f4af4 /sys/pci/pcisupport.c | |
parent | ff584932090fcbc74535e07692c2deee3cee10bc (diff) | |
download | FreeBSD-src-c6240f5b9e526e3baa5faeff6a53205b06b4987e.zip FreeBSD-src-c6240f5b9e526e3baa5faeff6a53205b06b4987e.tar.gz |
Translated to C (parameters in a function definition have the same scope
as variables declared in the main block in the function, so shadowing
of parameters by variables declared in the main block is not just an
obfuscation).
Found by: lint
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r-- | sys/pci/pcisupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index f0fecd3..60c4a7e 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcisupport.c,v 1.65 1998/05/04 01:39:48 kato Exp $ +** $Id: pcisupport.c,v 1.66 1998/05/04 08:16:03 kato Exp $ ** ** Device driver for DEC/INTEL PCI chipsets. ** @@ -851,7 +851,7 @@ static struct pci_device vga_device = { DATA_SET (pcidevice_set, vga_device); -static char* vga_probe (pcici_t tag, pcidi_t type) +static char* vga_probe (pcici_t tag, pcidi_t unused) { int data = pci_conf_read(tag, PCI_CLASS_REG); u_int id = pci_conf_read(tag, PCI_ID_REG); |