Use __inline__ for fortify.
libunwind has #define inline /* empty */ which breaks our fortified headers.
glibc uses __inline but our BSD-derived headers often override that. __inline__
is the third alternative understood by GCC that -- as far as I know -- neither
the C library itself nor third-party code tries to mess with.
Bug: 12871594
Change-Id: I6677e70ea531bb7d4c46021b43af760d4ad8ecf7
diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h
index b4dad74..9fa62df 100644
--- a/libc/include/sys/cdefs.h
+++ b/libc/include/sys/cdefs.h
@@ -546,7 +546,7 @@
#define __bos0(s) __builtin_object_size((s), 0)
#define __BIONIC_FORTIFY_INLINE \
- extern inline \
+ extern __inline__ \
__attribute__ ((always_inline)) \
__attribute__ ((gnu_inline))
#endif