]> sigrok.org Git - libsigrok.git/commitdiff
Fix outdated ezusb_install_firmware() prototype.
authorUwe Hermann <redacted>
Wed, 28 Dec 2011 22:11:52 +0000 (23:11 +0100)
committerUwe Hermann <redacted>
Wed, 28 Dec 2011 22:11:52 +0000 (23:11 +0100)
sigrok-internal.h

index f78be464fd76a071225ae4ff3dd63ddfae06d715..71325c273d79d58f77e409b175fecd6658fc1611 100644 (file)
@@ -66,7 +66,7 @@ int serial_set_params(int fd, int speed, int bits, int parity, int stopbits,
 
 #ifdef HAVE_LIBUSB_1_0
 int ezusb_reset(struct libusb_device_handle *hdl, int set_clear);
-int ezusb_install_firmware(libusb_device_handle *hdl, char *filename);
+int ezusb_install_firmware(libusb_device_handle *hdl, const char *filename);
 int ezusb_upload_firmware(libusb_device *dev, int configuration,
                          const char *filename);
 #endif