platform_bionic/libc
Yi Kong 4ca9a6b576 Workaround string-plus-int warning
The upcoming compiler warns against adding string and int:
In file included from bionic/libc/bionic/strsignal.cpp:41:
  bionic/libc/private/bionic_sigdefs.h:58:1: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
  __BIONIC_SIGDEF(SIGWINCH,  "Window size changed")
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  bionic/libc/bionic/strsignal.cpp:40:83: note: expanded from macro '__BIONIC_SIGDEF'
  #define __BIONIC_SIGDEF(signal_number, unused) [ signal_number ] = #signal_number + 3,
                                                                     ~~~~~~~~~~~~~~~^~~

Use array indexing index to avoid this warning.

Test: m checkbuild
Change-Id: Ib5e20edbf5bac76352df0484dd233d0621beb4e9
2019-02-28 15:54:58 -08:00
..
arch-arm Switch libm to libcrt.builtins 2019-02-22 13:33:15 -08:00
arch-arm64 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
arch-common/bionic Change crtbrand for host bionic 2018-10-22 17:15:22 -07:00
arch-mips Switch libc to libcrt.builtins 2019-02-15 12:46:19 -08:00
arch-mips64 bionic: add vdso clock_getres 2017-12-07 09:41:48 -08:00
arch-x86 Switch libc to libcrt.builtins 2019-02-15 12:46:19 -08:00
arch-x86_64 Use TLS_SLOT_THREAD_ID macro in vfork.S 2019-01-16 01:11:26 -08:00
async_safe Mark lib_async_safe_headers as supporting linux_bionic 2019-02-19 09:47:40 -08:00
bionic Workaround string-plus-int warning 2019-02-28 15:54:58 -08:00
dns Merge "Replace android_open_proxy with dns_open_proxy" 2018-11-28 12:21:33 +00:00
include linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
kernel Update to v4.20.1 kernel headers. 2019-01-15 07:33:14 -08:00
malloc_debug malloc debug: fix LogFreeError error log 2019-02-14 17:15:03 -08:00
malloc_hooks Fix malloc_hooks for hooks_write_malloc_leak_info. 2018-07-18 15:25:45 +01:00
private Merge "Fix linker self-exec detection" 2019-02-08 22:33:11 +00:00
seccomp Add support for seccomp filter that limits setresuid/setresgid. 2019-01-19 09:09:30 +01:00
stdio Avoid writing to a zero-capacity buffer. 2019-02-05 15:00:13 -08:00
stdlib Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
system_properties libasync_safe: stop clobbering other folks' identifiers. 2019-02-14 14:23:13 -08:00
tools genfunctosyscallnrs: maps bionic functions to syscall numbers. 2019-01-19 09:09:30 +01:00
tzcode Update the "host" bionic code tzdata lookup logic 2019-01-07 21:08:37 +00:00
upstream-freebsd Add reallocarray(3). 2018-09-26 14:24:18 -07:00
upstream-netbsd Sync with upstream NetBSD. 2019-02-13 14:17:18 -08:00
upstream-openbsd Switch to OpenBSD div/ldiv/lldiv. 2019-02-05 16:48:22 -08:00
versioner-dependencies
Android.bp Switch libm to libcrt.builtins 2019-02-22 13:33:15 -08:00
fs_config_generator.py
libc.map.txt Switch libm to libcrt.builtins 2019-02-22 13:33:15 -08:00
libstdc++.map.txt
MODULE_LICENSE_BSD
NOTICE Reorganize static TLS memory for ELF TLS 2019-01-11 15:34:22 -08:00
SECCOMP_BLACKLIST_APP.TXT Blacklist setregid(32) for apps. 2019-01-22 17:22:54 +01:00
SECCOMP_BLACKLIST_COMMON.TXT Split zygote's seccomp filter into two 2018-01-04 12:28:40 -08:00
SECCOMP_WHITELIST_APP.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_COMMON.TXT Move pipe, open, and getdents from the APP to COMMON seccomp whitelist. 2018-09-11 19:20:34 -04:00
SECCOMP_WHITELIST_GLOBAL.TXT
SECCOMP_WHITELIST_SYSTEM.TXT Add bpf syscall to seccomp whitelist 2018-01-18 12:08:34 -08:00
symbol_ordering Remove removed functions from symbol_ordering. 2019-02-14 14:52:41 -08:00
SYSCALLS.TXT Add lp32 and lp64 shorthands to SYSCALLS.TXT. 2018-11-09 13:57:34 -08:00
version_script.txt