commit | 8b93a7157d3b7dad8531c61af860352efca29b20 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Mar 16 20:14:24 2020 -0700 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Mon Mar 16 20:14:24 2020 -0700 |
tree | c916e72d55606d6109e44ea1a128380b12c4a881 | |
parent | e32f1fd7bff3a483ce25717342a50af24b73a0c1 [diff] |
Haiku: Fix some issues in the backend Since commit 8cfcc63f4f ("haiku_usb_raw: Add missing wrap_sys_device field to usbi_os_backend"), compilation of the Haiku backend has been broken. Since the code is C++, named initializers are not supported. Fix this by going back to the original style of initializing usbi_os_backend. Additionally, commit db99ef3451 ("Various fixes for the Haiku port") further broken some things. The ClearHalt() function was defined as a member of the USBDevice class but is declared and needed as a member of the USBDeviceHandle class. The ioctl command code also contained a typo. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)