OSDN Git Service

Make the legacy inline headers compile standalone.
authorJosh Gao <jmgao@google.com>
Thu, 14 Apr 2016 00:18:20 +0000 (17:18 -0700)
committerJosh Gao <jmgao@google.com>
Fri, 15 Apr 2016 20:06:08 +0000 (13:06 -0700)
commitb8e1b705d187886decb5970f791358f928f93d75
tree28f12472ef5f3119340975edc1010c52452b084c
parent99739d4280e11f3a63d23059349a0cf98c41f5c4
Make the legacy inline headers compile standalone.

It's useful to have the legacy inlines compile by themselves, both to
make header unification easier, and to ensure that the inline versions
match the regular declarations. Notably, this wasn't true for
sigismember, which took a const sigset_t* in the regular header, and
sigset_t* in the inline version.

Bug: http://b/28178111
Change-Id: Id8a3b7dcb1bfa61eed93c9fb50d3192744f8bef5
13 files changed:
libc/include/android/legacy_errno_inlines.h
libc/include/android/legacy_signal_inlines.h
libc/include/android/legacy_stdlib_inlines.h
libc/include/android/legacy_sys_atomics_inlines.h
libc/include/android/legacy_sys_stat_inlines.h
libc/include/android/legacy_termios_inlines.h
libc/include/errno.h
libc/include/signal.h
libc/include/stdlib.h
libc/include/sys/atomics.h
libc/include/sys/cdefs.h
libc/include/sys/stat.h
libc/include/termios.h