summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-09-11 06:49:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-09-11 06:49:15 +0000
commit1058f09389eecfdbf16e5712aa5390973827c7ba (patch)
treee58440041c5274a9cfeed4e4e8fbe49d863cf694 /sys/dev/pci
parent28339e93ccfee02e8afc8a7660d39c83e746faaa (diff)
ANSI function declarations.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_dc_pci.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c
index 8759a6c3136..123f5372d7b 100644
--- a/sys/dev/pci/if_dc_pci.c
+++ b/sys/dev/pci/if_dc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dc_pci.c,v 1.60 2008/09/11 05:39:51 brad Exp $ */
+/* $OpenBSD: if_dc_pci.c,v 1.61 2008/09/11 06:49:14 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -121,9 +121,7 @@ void dc_pci_acpi(struct device *, void *);
* IDs against our list and return a device name if we find a match.
*/
int
-dc_pci_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+dc_pci_match(struct device *parent, void *match, void *aux)
{
struct pci_attach_args *pa = (struct pci_attach_args *)aux;
struct dc_type *t;
@@ -155,9 +153,8 @@ dc_pci_match(parent, match, aux)
return (0);
}
-void dc_pci_acpi(self, aux)
- struct device *self;
- void *aux;
+void
+dc_pci_acpi(struct device *self, void *aux)
{
struct dc_softc *sc = (struct dc_softc *)self;
struct pci_attach_args *pa = (struct pci_attach_args *)aux;
@@ -199,9 +196,8 @@ void dc_pci_acpi(self, aux)
* Attach the interface. Allocate softc structures, do ifmedia
* setup and ethernet/BPF attach.
*/
-void dc_pci_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+void
+dc_pci_attach(struct device *parent, struct device *self, void *aux)
{
const char *intrstr = NULL;
pcireg_t command;