diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-10 15:47:13 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-10 15:47:13 +0000 |
commit | 945d22d1f2c0e79a3102a63314eeb5e6c41571af (patch) | |
tree | d74cb71bad2cdbec0853e291ed69d35734283947 /utf8.c | |
parent | 9b374f41eee2db5080ef2feb7973228afa3b22aa (diff) |
inline should be before type, gcc says
clang doesn't seem to care.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |