--- hatari/src/includes/cfgopts.h 2019/04/01 07:11:28 1.1.1.2 +++ hatari/src/includes/cfgopts.h 2019/04/09 08:53:07 1.1.1.4 @@ -15,18 +15,18 @@ typedef enum Long_Tag, Float_Tag, Double_Tag, - String_Tag, + String_Tag } TAG_TYPE; struct Config_Tag { - char *code; /* Option switch */ + const char *code; /* Option switch */ TAG_TYPE type; /* Type of option */ void *buf; /* Storage location */ }; -int input_config(const char *, struct Config_Tag *, char *); -int update_config(const char *, struct Config_Tag *, char *); +int input_config(const char *, const struct Config_Tag *, const char *); +int update_config(const char *, const struct Config_Tag *, const char *); #endif