diff options
author | Ludovic Rousseau <ludovic.rousseau@gmail.com> | 2012-06-01 11:40:31 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-06-04 01:20:45 +0100 |
commit | 56853b54d05e36834c3e7a99afda526d0c57eb18 (patch) | |
tree | 73c2aa35b994fc2199bb615e3ddb532d45e59e66 | |
parent | c9d41fe5f0324d969f758f42843e1fd05859f438 (diff) |
Samples: Fix no previous prototype warnings in xusb
-rw-r--r-- | examples/xusb.c | 4 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/xusb.c b/examples/xusb.c index 3f00f34..c158727 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -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]; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index e9a6926..b561cf6 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10516 +#define LIBUSB_NANO 10517 |