mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
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
This commit is contained in:
parent
55554ef2c3
commit
53a867d577
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35841
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user