X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=0603335411c8b0d911fdc1f990a39d7d071b566f;hp=8fcf7198dd1bdedf337556f97bd3386cf0f43f47;hb=1050ad206d3ff01e5b5bac08a44b25ed0d9b5488;hpb=5b110dec90393f6951624fe9a9e58c9ae9e43127 diff --git a/src/ftdi.h b/src/ftdi.h index 8fcf719..0603335 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -2,7 +2,7 @@ ftdi.h - description ------------------- begin : Fri Apr 4 2003 - copyright : (C) 2003-2017 by Intra2net AG and the libftdi developers + copyright : (C) 2003-2020 by Intra2net AG and the libftdi developers email : opensource@intra2net.com SPDX-License-Identifier: LGPL-2.1-only ***************************************************************************/ @@ -544,8 +544,8 @@ extern "C" char *manufacturer, int mnf_len, char *product, int prod_len, char *serial, int serial_len); - int ftdi_eeprom_set_strings(struct ftdi_context *ftdi, char * manufacturer, - char * product, char * serial); + int ftdi_eeprom_set_strings(struct ftdi_context *ftdi, const char * manufacturer, + const char * product, const char * serial); int ftdi_usb_open(struct ftdi_context *ftdi, int vendor, int product); int ftdi_usb_open_desc(struct ftdi_context *ftdi, int vendor, int product, @@ -609,8 +609,8 @@ extern "C" /* init eeprom for the given FTDI type */ int ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, - char * manufacturer, char *product, - char * serial); + const char * manufacturer, const char *product, + const char * serial); int ftdi_eeprom_build(struct ftdi_context *ftdi); int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose);