Add more const qualifiers

This commit is contained in:
Samuel Thibault
2022-06-11 16:20:19 +02:00
parent 3b009398c9
commit f4133364d1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -768,7 +768,7 @@ static int isHexDigit(int c)
static void copy_rule_string(char *string, int *state_out)
{
// state 0: conditional, 1=pre, 2=match, 3=post, 4=phonemes
static char *const outbuf[5] = { rule_cond, rule_pre, rule_match, rule_post, rule_phonemes };
static char * const outbuf[5] = { rule_cond, rule_pre, rule_match, rule_post, rule_phonemes };
static const int next_state[5] = { 2, 2, 4, 4, 4 };
char *output;
char *p;