summaryrefslogtreecommitdiff
path: root/sys/dev/isa/boca.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-28 05:46:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-28 05:46:33 +0000
commit4abbf8dca72cf071fb784f484a69b8e62577f43c (patch)
tree4617610242965ce0dc96bc435c8c11f7e6ada118 /sys/dev/isa/boca.c
parentc368b5eb714c4319a24745e8fae4255ecbb662a2 (diff)
use ansi style function decls to fix build with clang
Diffstat (limited to 'sys/dev/isa/boca.c')
-rw-r--r--sys/dev/isa/boca.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/dev/isa/boca.c b/sys/dev/isa/boca.c
index 111dea29ec4..414634ee9b9 100644
--- a/sys/dev/isa/boca.c
+++ b/sys/dev/isa/boca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boca.c,v 1.17 2022/04/06 18:59:28 naddy Exp $ */
+/* $OpenBSD: boca.c,v 1.18 2024/05/28 05:46:32 jsg Exp $ */
/* $NetBSD: boca.c,v 1.15 1996/05/12 23:51:50 mycroft Exp $ */
/*
@@ -74,10 +74,7 @@ struct cfdriver boca_cd = {
};
int
-bocaprobe(parent, self, aux)
- struct device *parent;
- void *self;
- void *aux;
+bocaprobe(struct device *parent, void *self, void *aux)
{
struct isa_attach_args *ia = aux;
int iobase = ia->ia_iobase;
@@ -126,9 +123,7 @@ out:
}
int
-bocaprint(aux, pnp)
- void *aux;
- const char *pnp;
+bocaprint(void *aux, const char *pnp)
{
struct commulti_attach_args *ca = aux;
@@ -139,9 +134,7 @@ bocaprint(aux, pnp)
}
void
-bocaattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+bocaattach(struct device *parent, struct device *self, void *aux)
{
struct boca_softc *sc = (void *)self;
struct isa_attach_args *ia = aux;
@@ -177,8 +170,7 @@ bocaattach(parent, self, aux)
}
int
-bocaintr(arg)
- void *arg;
+bocaintr(void *arg)
{
struct boca_softc *sc = arg;
bus_space_tag_t iot = sc->sc_iot;