Deleted Added
full compact
1c1
< /* $FreeBSD: head/lib/libusb/libusb10.c 195957 2009-07-30 00:11:41Z alfred $ */
---
> /* $FreeBSD: head/lib/libusb/libusb10.c 199055 2009-11-08 20:03:52Z thompsa $ */
37a38
> #include <sys/endian.h>
188,189d188
< /* get device into libUSB v1.0 list */
< libusb20_be_dequeue_device(usb_backend, pdev);
201a201,204
>
> /* get device into libUSB v1.0 list */
> libusb20_be_dequeue_device(usb_backend, pdev);
>
418a422,423
>
> /* unref will free the "pdev" when the refcount reaches zero */
1198c1203
< unsigned int endpoint;
---
> uint32_t endpoint;
1255c1260
< unsigned int endpoint;
---
> uint32_t endpoint;
1314a1320,1332
>
> uint16_t
> libusb_cpu_to_le16(uint16_t x)
> {
> return (htole16(x));
> }
>
> uint16_t
> libusb_le16_to_cpu(uint16_t x)
> {
> return (le16toh(x));
> }
>