diff --git a/src/normalize.c b/src/normalize.c index cd2aa0b6..4d6b5a68 100644 --- a/src/normalize.c +++ b/src/normalize.c @@ -144,7 +144,7 @@ string_tree_t *normalize_string(char *str, uint64_t options) { } -void add_normalized_token(string_tree_t *tree, char *str, token_t token, uint64_t options) { +void add_token_alternatives(string_tree_t *tree, char *str, token_t token, uint64_t options) { size_t idx = 0; uint8_t *ptr = (uint8_t *)str + token.offset; diff --git a/src/normalize.h b/src/normalize.h index f98849f8..ef229b2b 100644 --- a/src/normalize.h +++ b/src/normalize.h @@ -39,7 +39,7 @@ char *normalize_string_utf8(char *str, uint64_t options); char *normalize_string_latin(char *str, size_t len, uint64_t options); // Takes NORMALIZE_TOKEN_* options -bool add_token_alternatives(cstring_array *array, char *str, token_t token, uint64_t options); +void add_token_alternatives(string_tree_t *tree, char *str, token_t token, uint64_t options); // Takes NORMALIZE_STRING_* options string_tree_t *normalize_string(char *str, uint64_t options);