summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-04-19 22:38:31 +0200
committerpgen <p.gen.progs@gmail.com>2022-04-19 22:38:31 +0200
commitd8f34044554e5dc1d85f471ab5cf92304d501210 (patch)
tree35b4ce96c5b2cf7a59d95317210d05aa7c11ac16 /utf8.c
parent97508355bed3eb93fd9040f1b2a8d1123220fc42 (diff)
Remove an useless parameter
\u and \U sequences should always be interpreted.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 24fa7f7..5c71974 100644
--- a/utf8.c
+++ b/utf8.c
@@ -70,7 +70,7 @@ cptoutf8(char * utf8_str, uint32_t c)
/* Returns 0 if the conversion has failed else 1. */
/* ======================================================================= */
int
-utf8_interpret(char * s, langinfo_t * langinfo, char substitute)
+utf8_interpret(char * s, char substitute)
{
char * utf8_str; /* \uxx... */
size_t utf8_to_eos_len; /* bytes in s starting from the first *