aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/string
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-21 19:53:14 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-21 19:53:14 +0200
commit106a59586aeba3fb1a0883e2fdaa51753fdbb68b (patch)
tree596a38dd9c7534dab973d3c04cb9c6c0e15e134f /lib/unicode/string
parent43be23fd5c22a23a2fe141df93d73ba14a0fa28d (diff)
Rename u8glen() to u8gcnt()
Diffstat (limited to 'lib/unicode/string')
-rw-r--r--lib/unicode/string/u8gcnt.c (renamed from lib/unicode/string/u8glen.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicode/string/u8glen.c b/lib/unicode/string/u8gcnt.c
index 394a62d..81a0f97 100644
--- a/lib/unicode/string/u8glen.c
+++ b/lib/unicode/string/u8gcnt.c
@@ -1,7 +1,7 @@
#include "unicode/string.h"
size_t
-u8glen(const char8_t *s, size_t n)
+u8gcnt(const char8_t *s, size_t n)
{
size_t m = 0;
while (u8gnext(nullptr, &s, &n))