summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-15 12:57:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-15 12:57:37 +0000
commite955325fc893e2a3c2fa7c3dfde07e9bc7f0cc27 (patch)
tree508b66714f3164c88af89b1712ce3f8a4dbdf745
parentef59f27a4b7b7c6d7060f2df12dc0877986e7c84 (diff)
ansi style function decl
-rw-r--r--sys/dev/pci/cz.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c
index bb88a065365..f4d1b97dcd7 100644
--- a/sys/dev/pci/cz.c
+++ b/sys/dev/pci/cz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cz.c,v 1.27 2022/03/11 18:00:45 mpi Exp $ */
+/* $OpenBSD: cz.c,v 1.28 2024/05/15 12:57:36 jsg Exp $ */
/* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */
/*-
@@ -268,9 +268,7 @@ do { \
* Determine if the given PCI device is a Cyclades-Z board.
*/
int
-cz_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+cz_match(struct device *parent, void *match, void *aux)
{
struct pci_attach_args *pa = aux;
@@ -286,9 +284,7 @@ cz_match(parent, match, aux)
* A Cyclades-Z board was found; attach it.
*/
void
-cz_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+cz_attach(struct device *parent, struct device *self, void *aux)
{
struct cz_softc *cz = (void *) self;
struct pci_attach_args *pa = aux;