inline should be before type, gcc says

clang doesn't seem to care.
This commit is contained in:
Omar Polo 2021-01-10 15:47:13 +00:00
parent 9b374f41ee
commit 945d22d1f2
1 changed files with 1 additions and 1 deletions

2
utf8.c
View File

@ -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];