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/ezload.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/usb/ezload.h') 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 -- cgit v1.2.3