From: Uwe Hermann Date: Wed, 28 Dec 2011 22:11:52 +0000 (+0100) Subject: Fix outdated ezusb_install_firmware() prototype. X-Git-Tag: libsigrok-0.1.0~207 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2d83e0f963b39104ba065c61ef22456adcf15a8d;p=libsigrok.git Fix outdated ezusb_install_firmware() prototype. --- diff --git a/sigrok-internal.h b/sigrok-internal.h index f78be464..71325c27 100644 --- a/sigrok-internal.h +++ b/sigrok-internal.h @@ -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