summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 13:20:20 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 13:20:20 +0000
commit0eeeee98dbb48ae6a10b967da93971a76f739106 (patch)
tree943e15c3cc2a25e4e2373c38e4159aa9a6dedba0
parente54a040963f876b9e4d1ce6e7d3171fec680e6de (diff)
ansi
-rw-r--r--sys/dev/puc/com_puc.c10
-rw-r--r--sys/dev/puc/lpt_puc.c10
2 files changed, 6 insertions, 14 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c
index a398427a83f..77e0ef13878 100644
--- a/sys/dev/puc/com_puc.c
+++ b/sys/dev/puc/com_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_puc.c,v 1.25 2020/08/14 18:14:11 jcs Exp $ */
+/* $OpenBSD: com_puc.c,v 1.26 2021/03/05 13:20:19 jsg Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
@@ -62,9 +62,7 @@ struct cfattach com_puc_ca = {
};
int
-com_puc_match(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+com_puc_match(struct device *parent, void *match, void *aux)
{
struct puc_attach_args *pa = aux;
@@ -75,9 +73,7 @@ com_puc_match(parent, match, aux)
}
void
-com_puc_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+com_puc_attach(struct device *parent, struct device *self, void *aux)
{
struct com_softc *sc = (void *)self;
struct puc_attach_args *pa = aux;
diff --git a/sys/dev/puc/lpt_puc.c b/sys/dev/puc/lpt_puc.c
index c53315a92ca..a9c8e21d8ff 100644
--- a/sys/dev/puc/lpt_puc.c
+++ b/sys/dev/puc/lpt_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpt_puc.c,v 1.9 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: lpt_puc.c,v 1.10 2021/03/05 13:20:19 jsg Exp $ */
/* $NetBSD: lpt_puc.c,v 1.1 1998/06/26 18:52:41 cgd Exp $ */
/*
@@ -56,9 +56,7 @@ struct cfattach lpt_puc_ca = {
};
int
-lpt_puc_probe(parent, match, aux)
- struct device *parent;
- void *match, *aux;
+lpt_puc_probe(struct device *parent, void *match, void *aux)
{
struct puc_attach_args *aa = aux;
@@ -72,9 +70,7 @@ lpt_puc_probe(parent, match, aux)
}
void
-lpt_puc_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+lpt_puc_attach(struct device *parent, struct device *self, void *aux)
{
struct lpt_softc *sc = (void *)self;
struct puc_attach_args *aa = aux;