From 42b4ad6c526bdc71aa6279318774e1c06bc7cb05 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 5 Mar 2021 13:20:19 +0000 Subject: [PATCH] ansi --- sys/dev/puc/com_puc.c | 10 +++------- sys/dev/puc/lpt_puc.c | 10 +++------- 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; -- 2.20.1