From 945d22d1f2c0e79a3102a63314eeb5e6c41571af Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 10 Jan 2021 15:47:13 +0000 Subject: [PATCH] inline should be before type, gcc says clang doesn't seem to care. --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8.c b/utf8.c index 81a7584..09aad1c 100644 --- a/utf8.c +++ b/utf8.c @@ -46,7 +46,7 @@ static const uint8_t utf8d[] = { 1,3,1,1,1,1,1,3,1,3,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1, // s7..s8 }; -static uint32_t inline +static inline uint32_t utf8_decode(uint32_t* state, uint32_t* codep, uint8_t byte) { uint32_t type = utf8d[byte];