tools/nolibc: use __inline__ syntax
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 6 Apr 2023 21:54:48 +0000 (21:54 +0000)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:46:07 +0000 (11:46 -0700)
commit0738c2d7bf93cb2c11cd4b24b53a77fe9faaad5d
tree041d880a06d40c73b6301baf27b72818e27c483d
parent7f291cfa90d7f95da11fe9aa7062344ddfce603a
tools/nolibc: use __inline__ syntax

When building in strict C89 mode the "inline" keyword is unknown.
While "__inline__" is non-standard it is used by the kernel headers
themselves.
So the used compilers would have to support it or the users shim it with
a #define.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/stdlib.h