mirror of https://github.com/omar-polo/gmid.git
inline should be before type, gcc says
clang doesn't seem to care.
This commit is contained in:
parent
9b374f41ee
commit
945d22d1f2
2
utf8.c
2
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
|
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) {
|
utf8_decode(uint32_t* state, uint32_t* codep, uint8_t byte) {
|
||||||
uint32_t type = utf8d[byte];
|
uint32_t type = utf8d[byte];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue