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/ezload.h | |
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/ezload.h')
-rw-r--r-- | sys/dev/usb/ezload.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ezload.h b/sys/dev/usb/ezload.h index 8f2f48d9a54..a68aa3002cc 100644 --- a/sys/dev/usb/ezload.h +++ b/sys/dev/usb/ezload.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ezload.h,v 1.4 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: ezload.h,v 1.5 2013/04/15 09:23:01 mglocker Exp $ */ /* $NetBSD: ezload.h,v 1.2 2001/01/18 20:28:23 jdolecek Exp $ */ /* @@ -37,8 +37,8 @@ struct ezdata { }; #ifdef _KERNEL -usbd_status ezload_reset(usbd_device_handle, int); -usbd_status ezload_download(usbd_device_handle, const char *name, +usbd_status ezload_reset(struct usbd_device *, int); +usbd_status ezload_download(struct usbd_device *, const char *name, const u_char *buf, size_t buflen); -usbd_status ezload_downloads_and_reset(usbd_device_handle, char **); +usbd_status ezload_downloads_and_reset(struct usbd_device *, char **); #endif |