From 35659bf2453d7eeb12fd24089cf668ca13361c18 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 15 May 2024 12:57:36 +0000 Subject: [PATCH] ansi style function decl --- sys/dev/pci/cz.c | 10 +++------- 1 file 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; -- 2.20.1