summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdivar.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-11-10 15:34:26 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-11-10 15:34:26 +0000
commit98c97d1a992ef7d35fcc06fb374695d3935f4469 (patch)
tree5ea5ea52deff4c152116cd398fbd0b13c83681c7 /sys/dev/usb/usbdivar.h
parentf436bcaa89e46f73146f84edb80e157c6f73b1af (diff)
free(9) sizes for endpoints array.
ok okan@, tedu@, visa@
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r--sys/dev/usb/usbdivar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 53c32f0153d..7abab89d5ce 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdivar.h,v 1.75 2018/05/01 18:14:46 landry Exp $ */
+/* $OpenBSD: usbdivar.h,v 1.76 2018/11/10 15:34:25 mpi Exp $ */
/* $NetBSD: usbdivar.h,v 1.70 2002/07/11 21:14:36 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $ */
@@ -173,7 +173,8 @@ struct usbd_interface {
struct usbd_endpoint *endpoints;
void *priv;
LIST_HEAD(, usbd_pipe) pipes;
- u_int8_t claimed;
+ uint8_t claimed;
+ uint8_t nendpt;
};
struct usbd_pipe {