diff options
author | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2013-03-15 09:35:16 +0100 |
---|---|---|
committer | Ludovic Rousseau <ludovic.rousseau+github@gmail.com> | 2013-03-15 09:35:16 +0100 |
commit | e78d37b2acbd804841e8206216a9ffad2112ebb2 (patch) | |
tree | c32e769734fef274c901072daff78b05468df0e5 | |
parent | d345a1ed6bbef289b27862c3d0eff58d5ab76674 (diff) | |
download | libusb-e78d37b2acbd804841e8206216a9ffad2112ebb2.tar.gz |
Samples: fix compiler warning
Make fx3_load_ram a static function.
ezusb.c:534: warning: no previous prototype for ‘fx3_load_ram’
-rw-r--r-- | examples/ezusb.c | 2 | ||||
-rw-r--r-- | 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 |