From 5cef08fefab2a1e12eeb54bbb0608448920630e8 Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Mon, 15 Apr 2013 09:23:03 +0000 Subject: Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@ --- sys/dev/usb/if_urndis.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sys/dev/usb/if_urndis.c') diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c index 6df4108fd2a..fff202918f9 100644 --- a/sys/dev/usb/if_urndis.c +++ b/sys/dev/usb/if_urndis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urndis.c,v 1.37 2013/03/28 03:58:03 tedu Exp $ */ +/* $OpenBSD: if_urndis.c,v 1.38 2013/04/15 09:23:01 mglocker Exp $ */ /* * Copyright (c) 2010 Jonathan Armani @@ -74,8 +74,8 @@ void urndis_watchdog(struct ifnet *); #endif void urndis_start(struct ifnet *); -void urndis_rxeof(usbd_xfer_handle, usbd_private_handle, usbd_status); -void urndis_txeof(usbd_xfer_handle, usbd_private_handle, usbd_status); +void urndis_rxeof(struct usbd_xfer *, void *, usbd_status); +void urndis_txeof(struct usbd_xfer *, void *, usbd_status); int urndis_rx_list_init(struct urndis_softc *); int urndis_tx_list_init(struct urndis_softc *); @@ -1217,8 +1217,8 @@ urndis_start(struct ifnet *ifp) } void -urndis_rxeof(usbd_xfer_handle xfer, - usbd_private_handle priv, +urndis_rxeof(struct usbd_xfer *xfer, + void *priv, usbd_status status) { struct urndis_chain *c; @@ -1259,8 +1259,8 @@ done: } void -urndis_txeof(usbd_xfer_handle xfer, - usbd_private_handle priv, +urndis_txeof(struct usbd_xfer *xfer, + void *priv, usbd_status status) { struct urndis_chain *c; -- cgit v1.2.3