libftdi: pass eeprom strings as const
[libftdi] / src / ftdi.h
index 832fa0b..7addeb9 100644 (file)
@@ -4,6 +4,7 @@
     begin                : Fri Apr 4 2003
     copyright            : (C) 2003-2017 by Intra2net AG and the libftdi developers
     email                : opensource@intra2net.com
+    SPDX-License-Identifier: LGPL-2.1-only
  ***************************************************************************/
 
 /***************************************************************************
@@ -543,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,