Samples: Fix no previous prototype warnings in xusb

This commit is contained in:
Ludovic Rousseau 2012-06-01 11:40:31 +02:00 committed by Pete Batard
parent c9d41fe5f0
commit 56853b54d0
2 changed files with 3 additions and 3 deletions

View File

@ -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];

View File

@ -1 +1 @@
#define LIBUSB_NANO 10516
#define LIBUSB_NANO 10517