summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2011-06-23 16:02:34 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2011-06-23 16:02:34 +0000
commit2d3d5f1510c111004b07bf1ef0c146e1b04bcb7e (patch)
treec367c426c86ecefd988e8d8847b3e86aacacb49e /sys/dev/usb
parenta1ffd84f864f889290dd4c98effc0ac608148ebb (diff)
ansify a few files. ok deraadt dlg krw matthew
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c4
-rw-r--r--sys/dev/usb/ucom.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 90370a1981d..65bfdf6f35c 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.115 2010/12/14 16:13:16 jakemsr Exp $ */
+/* $OpenBSD: ehci.c,v 1.116 2011/06/23 16:02:33 tedu Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -1304,7 +1304,7 @@ ehci_dump_regs(ehci_softc_t *sc)
* debugger.
*/
void
-ehci_dump()
+ehci_dump(void)
{
ehci_dump_regs(theehci);
}
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index 05eb737f20f..15fccf18527 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucom.c,v 1.51 2010/09/24 08:33:59 yuo Exp $ */
+/* $OpenBSD: ucom.c,v 1.52 2011/06/23 16:02:33 tedu Exp $ */
/* $NetBSD: ucom.c,v 1.49 2003/01/01 00:10:25 thorpej Exp $ */
/*
@@ -769,9 +769,7 @@ XXX;
}
void
-ucom_break(sc, onoff)
- struct ucom_softc *sc;
- int onoff;
+ucom_break(struct ucom_softc *sc, int onoff)
{
DPRINTF(("ucom_break: onoff=%d\n", onoff));