1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

[intl] is_codepoint_supported static

This commit is contained in:
Witold Filipczyk 2022-10-16 18:38:55 +02:00
parent 9e7257c3b7
commit 2e38104b40
2 changed files with 6 additions and 3 deletions

View File

@ -205,7 +205,9 @@ struct {
unicode_val_T *list;
} codepoints;
int is_codepoint_supported(unicode_val_T u) {
static int
is_codepoint_supported(unicode_val_T u)
{
int first, last, middle;
if (codepoints.size == -1)
@ -227,7 +229,9 @@ int is_codepoint_supported(unicode_val_T u) {
return 0;
}
int codepoint_replacement(unicode_val_T u) {
int
codepoint_replacement(unicode_val_T u)
{
int s;
if (is_codepoint_supported(u))

View File

@ -160,7 +160,6 @@ char *utf8_step_forward(char *, char *,
int, enum utf8_step, int *);
char *utf8_step_backward(char *, char *,
int, enum utf8_step, int *);
int is_codepoint_supported(unicode_val_T u);
int codepoint_replacement(unicode_val_T u);
int unicode_to_cell(unicode_val_T);
unicode_val_T unicode_fold_label_case(unicode_val_T);