--- hatari/src/includes/cfgopts.h 2019/04/01 07:11:28 1.1.1.2 +++ hatari/src/includes/cfgopts.h 2019/04/09 08:56:51 1.1.1.5 @@ -16,17 +16,18 @@ typedef enum Float_Tag, Double_Tag, String_Tag, + Key_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