From e78d37b2acbd804841e8206216a9ffad2112ebb2 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 15 Mar 2013 09:35:16 +0100 Subject: Samples: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make fx3_load_ram a static function. ezusb.c:534: warning: no previous prototype for ‘fx3_load_ram’ --- examples/ezusb.c | 2 +- libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ezusb.c b/examples/ezusb.c index d80422f..1551187 100644 --- a/examples/ezusb.c +++ b/examples/ezusb.c @@ -530,7 +530,7 @@ static int ram_poke(void *context, uint32_t addr, bool external, * Load an Cypress Image file into target RAM. * The file is assumed to be in Cypress IMG format. */ -int fx3_load_ram(libusb_device_handle *device, const char *path) +static int fx3_load_ram(libusb_device_handle *device, const char *path) { uint32_t dCheckSum, dExpectedCheckSum, dAddress, i, dLen, dLength; uint16_t wSignature; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index e652d0e..04ee3a8 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10629 +#define LIBUSB_NANO 10630 -- cgit v1.2.1