summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utf8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 6e26ebd..419977d 100644
--- a/utf8.h
+++ b/utf8.h
@@ -23,7 +23,8 @@
* error, but it will always advance at least one byte.
*/
static void *
-utf8_decode(void *buf, uint32_t *c, int *e) {
+utf8_decode(void *buf, uint32_t *c, int *e)
+{
static const char lengths[] = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0