Deleted Added
full compact
1c1
< /* $FreeBSD: head/lib/libusb/libusb10.c 208020 2010-05-13 00:25:30Z thompsa $ */
---
> /* $FreeBSD: head/lib/libusb/libusb10.c 213848 2010-10-14 20:04:36Z hselasky $ */
665a666,680
> libusb_check_connected(struct libusb20_device *pdev)
> {
> libusb_device *dev;
> int err;
>
> dev = libusb_get_device(pdev);
> if (dev == NULL)
> return (LIBUSB_ERROR_INVALID_PARAM);
>
> err = libusb20_dev_check_connected(pdev);
>
> return (err ? LIBUSB_ERROR_NO_DEVICE : 0);
> }
>
> int