From 2e38104b40e480f6f171419bd988285fcbdd1ee3 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 16 Oct 2022 18:38:55 +0200 Subject: [PATCH] [intl] is_codepoint_supported static --- src/intl/charsets.c | 8 ++++++-- src/intl/charsets.h | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/intl/charsets.c b/src/intl/charsets.c index f183ecd9..cabbced1 100644 --- a/src/intl/charsets.c +++ b/src/intl/charsets.c @@ -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)) diff --git a/src/intl/charsets.h b/src/intl/charsets.h index caf2e310..7cfe3fc5 100644 --- a/src/intl/charsets.h +++ b/src/intl/charsets.h @@ -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);