Put inline declaration before return type
gcc -Wextra complains that the other way around is obsolescent, and this was the only place where it was written in this order.
This commit is contained in:
parent
30f854537d
commit
bf6be7af25
@ -168,7 +168,7 @@ getcode(char c)
|
|||||||
#define NOGHTOF(c) (getcode(c) & 16) /* BDH */
|
#define NOGHTOF(c) (getcode(c) & 16) /* BDH */
|
||||||
|
|
||||||
/* Faster than memcmp(), for this use case. */
|
/* Faster than memcmp(), for this use case. */
|
||||||
static bool inline
|
static inline bool
|
||||||
rest_of_char_same(const char *s1, const char *s2, int len)
|
rest_of_char_same(const char *s1, const char *s2, int len)
|
||||||
{
|
{
|
||||||
while (len > 0)
|
while (len > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user