Commit Diff
Diff:
9b374f41eee2db5080ef2feb7973228afa3b22aa
945d22d1f2c0e79a3102a63314eeb5e6c41571af
Commit:
945d22d1f2c0e79a3102a63314eeb5e6c41571af
Tree:
d74cb71bad2cdbec0853e291ed69d35734283947
Author:
Omar Polo <op@omarpolo.com>
Date:
Sun Jan 10 15:47:13 2021 UTC
Message:
inline should be before type, gcc says

clang doesn't seem to care.
commit - 9b374f41eee2db5080ef2feb7973228afa3b22aa
commit + 945d22d1f2c0e79a3102a63314eeb5e6c41571af
blob - 81a75845afc65a0a25611da39d428a407f077662
blob + 09aad1cd4b4aed0af095e949d47fb4056764eded
--- utf8.c
+++ utf8.c
@@ -46,7 +46,7 @@ static uint32_t inline
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];
Omar Polo