mirror of
https://github.com/Cxbx-Reloaded/libusb.git
synced 2025-03-04 16:07:02 +00:00
Samples: Fix no previous prototype warnings in xusb
This commit is contained in:
parent
c9d41fe5f0
commit
56853b54d0
@ -532,7 +532,7 @@ static int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in,
|
||||
}
|
||||
|
||||
// HID
|
||||
int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
||||
static int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
||||
{
|
||||
uint8_t i, j = 0;
|
||||
uint8_t offset;
|
||||
@ -586,7 +586,7 @@ int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
||||
}
|
||||
}
|
||||
|
||||
int test_hid(libusb_device_handle *handle, uint8_t endpoint_in)
|
||||
static int test_hid(libusb_device_handle *handle, uint8_t endpoint_in)
|
||||
{
|
||||
int r, size, descriptor_size;
|
||||
uint8_t hid_report_descriptor[256];
|
||||
|
@ -1 +1 @@
|
||||
#define LIBUSB_NANO 10516
|
||||
#define LIBUSB_NANO 10517
|
||||
|
Loading…
x
Reference in New Issue
Block a user