diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-11-10 15:34:26 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-11-10 15:34:26 +0000 |
commit | 98c97d1a992ef7d35fcc06fb374695d3935f4469 (patch) | |
tree | 5ea5ea52deff4c152116cd398fbd0b13c83681c7 /sys/dev/usb/usbdivar.h | |
parent | f436bcaa89e46f73146f84edb80e157c6f73b1af (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.h | 5 |
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 { |