utf8 - 'inline is not at beginning of declaration'

This commit is contained in:
K. Lange 2018-08-18 09:10:08 +09:00
parent 27b46493f6
commit 9eda9c53a9

View File

@ -45,7 +45,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
decode(uint32_t* state, uint32_t* codep, uint32_t byte) {
uint32_t type = utf8d[byte];