diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-01-13 15:39:55 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-01-13 15:41:01 -0800 |
commit | 28b425c367f9efa9ed03c339788c936f4f5dc399 (patch) | |
tree | e9916b5366305f67b0e8f5e734ae1d3ba0ed7f7e /glibc | |
parent | 856956bfde7f50193941fb54b4e91b7b976737c9 (diff) | |
download | riscv-gnu-toolchain-28b425c367f9efa9ed03c339788c936f4f5dc399.zip riscv-gnu-toolchain-28b425c367f9efa9ed03c339788c936f4f5dc399.tar.gz riscv-gnu-toolchain-28b425c367f9efa9ed03c339788c936f4f5dc399.tar.bz2 |
Change a "inline" to "__inline__"
So "inline" isn't complient C, which means strict packages won't build
with it. This uses "__inline__" instead, which is ANSI C. This patch
is required to get freetype to build.
Diffstat (limited to 'glibc')
-rw-r--r-- | glibc/sysdeps/riscv/bits/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glibc/sysdeps/riscv/bits/string.h b/glibc/sysdeps/riscv/bits/string.h index 9d30fa6..a3d5aeb 100644 --- a/glibc/sysdeps/riscv/bits/string.h +++ b/glibc/sysdeps/riscv/bits/string.h @@ -12,7 +12,7 @@ #if defined(__GNUC__) && !defined(__cplusplus) -static inline unsigned long __libc_detect_null(unsigned long w) +static __inline__ unsigned long __libc_detect_null(unsigned long w) { unsigned long mask = 0x7f7f7f7f; if (sizeof(long) == 8) |