summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Wellons <wellons@nullprogram.com>2017-10-06 17:40:18 -0400
committerChristopher Wellons <wellons@nullprogram.com>2017-10-06 17:40:18 -0400
commit37798dff871c5c04c25cd379007c6226d8e7c537 (patch)
treec8cdfd12de10b7b442efa3cc2d549b416c028755
parent49caeee5ab4736f69c339340b889a1f6fb74560d (diff)
Fix formatting
-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