The bzero() function is a deprecated BSD function that can be replaced
by the standard C90 memset() function.
From memset(4) manpage:
The memset() function conforms to ISO/IEC 9899:1990 (``ISO C90'').
From bzero(3) manpage:
bzero() was deprecated in IEEE Std 1003.1-2001 (``POSIX.1'') and removed
in IEEE Std 1003.1-2008 (``POSIX.1'').
When compiling for POSIX 2008, the bzero() function is undefined on the
OS X platform.
IOReturn kresult;
- bzero(&tpriv->req, sizeof(tpriv->req));
+ memset(&tpriv->req, 0, sizeof(tpriv->req));
/* IOUSBDeviceInterface expects the request in cpu endianness */
tpriv->req.bmRequestType = setup->bmRequestType;
-#define LIBUSB_NANO 11161
+#define LIBUSB_NANO 11162