diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2013-04-15 09:23:03 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2013-04-15 09:23:03 +0000 |
commit | 5cef08fefab2a1e12eeb54bbb0608448920630e8 (patch) | |
tree | 54b4b49685c176f00e369f015a0e43fd73199777 /sys/dev/usb/if_urndis.c | |
parent | ef6d59f94200628194940cb20aa4986edec4b629 (diff) |
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@
Diffstat (limited to 'sys/dev/usb/if_urndis.c')
-rw-r--r-- | sys/dev/usb/if_urndis.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 <armani@openbsd.org> @@ -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; |