aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/gbrk/u8glen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode/gbrk/u8glen.c')
-rw-r--r--lib/unicode/gbrk/u8glen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/unicode/gbrk/u8glen.c b/lib/unicode/gbrk/u8glen.c
deleted file mode 100644
index 763a834..0000000
--- a/lib/unicode/gbrk/u8glen.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "unicode/gbrk.h"
-
-size_t
-u8glen(const char8_t *s, size_t n)
-{
- size_t m = 0;
- while (u8gnext(nullptr, &s, &n))
- m++;
- return m;
-}