fe-text: remove const for better Darwin support

This commit removes the `const` qualifier from certain member fields,
as the Darwin version of several `<term.h>` related functions only
accept a `char *` rather than a `const char *`, thereby resulting in
dozens of compiler warnings.
This commit is contained in:
Emil Engler 2023-08-14 11:53:34 +02:00 committed by Ailin Nemui
commit 32adf7c1dd
2 changed files with 20 additions and 20 deletions

View file

@ -38,8 +38,8 @@ int tigetflag();
#define CAP_TYPE_STR 2
typedef struct {
const char *ti_name; /* terminfo name */
const char *tc_name; /* termcap name */
char *ti_name; /* terminfo name */
char *tc_name; /* termcap name */
int type;
unsigned int offset;
} TERMINFO_REC;