OSDN Git Service

Use __inline__ for fortify.
authorElliott Hughes <enh@google.com>
Mon, 3 Feb 2014 23:41:57 +0000 (15:41 -0800)
committerElliott Hughes <enh@google.com>
Mon, 3 Feb 2014 23:41:57 +0000 (15:41 -0800)
commit8d60cc63163df81938305632e1b7474aeda17d52
treeda12d1c2995aeeea5d08107025b76c31f28aaa6e
parentfb4da1e7b749b4cf6843515517e839efa1ee24c7
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
libc/include/sys/cdefs.h