acadia-newlib/newlib/libc/include
pfg 271e856a49 Define a new __alloc_size2 attribute to complement the exiting support.
At least on GCC7 calling __alloc_size(x) twice is not equivalent to
calling using the attribute once with two arguments. The later is the
documented use in GCC documentation so add a new alloc_size(n, x)
alternative to cover for the few places where it is used: basically:
calloc(3), reallocarray(3) and  mallocarray(9).

Submitted by:	Mark Millard
MFC after:	3 days
Reference:
http://docs.freebsd.org/cgi/mid.cgi?F227842D-6BE2-4680-82E7-07906AF61CD7
2018-07-30 10:47:57 +02:00
..
machine Move __HAVE_FAST_FMA to math_config.h 2018-07-06 10:29:01 +02:00
rpc ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
ssp ssp: fix wchar.h with -std=c99 2018-03-14 10:46:32 -05:00
sys Define a new __alloc_size2 attribute to complement the exiting support. 2018-07-30 10:47:57 +02:00
_ansi.h ansification: remove _HAVE_STDC 2018-01-17 11:47:30 -06:00
_newlib_version.h
_syslist.h
alloca.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
ar.h
argz.h
assert.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
complex.h Fixed warnings for some long double complex methods 2017-07-05 14:40:02 +02:00
cpio.h
ctype.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
devctl.h devctl.h: Fix typo and include proper header 2017-01-25 12:37:19 +01:00
dirent.h
elf.h Add the Aarch64 SVE specific HWCAP_SVE define 2017-11-22 14:10:37 -05:00
envlock.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
envz.h
errno.h
fastmath.h
fcntl.h
fnmatch.h
getopt.h newlib: getopt now permutes multi-flag options correctly 2018-06-18 18:45:44 +02:00
glob.h
grp.h
iconv.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
ieeefp.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
inttypes.h Importing wcstoumax inttypes method from FreeBSD. 2017-08-02 13:02:26 +02:00
langinfo.h Guard langinfo.h nl_item from multiple typedefs 2018-01-19 13:19:21 -06:00
libgen.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
limits.h
locale.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
malloc.h Add prototype to _malloc_lock() and *unlock() to malloc.h, and inlude this from nano-mallocr.c 2018-02-16 12:16:07 +01:00
math.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
memory.h Provide <memory.h> 2016-11-22 14:21:35 +01:00
newlib.h
paths.h
pthread.h Correct prototypes of pthread_mutex_getprioceiling() and pthread_setschedparam() 2018-03-15 09:25:45 -05:00
pwd.h
reent.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
regdef.h
regex.h
sched.h
search.h
setjmp.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
signal.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
spawn.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
stdatomic.h
stdint.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
stdio.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
stdio_ext.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
stdlib.h Fix alloc_align and alloc_size macros for multiple arguments 2018-03-14 10:17:51 -05:00
string.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
strings.h ssp: add Object Size Checking for strings.h 2017-11-29 11:25:41 -06:00
tar.h
termios.h
tgmath.h
threads.h
time.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
unctrl.h ansification: remove _CONST 2018-01-17 11:47:08 -06:00
unistd.h
utime.h
utmp.h
wchar.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
wctype.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
wordexp.h
xlocale.h Rename <sys/_locale.h> to <xlocale.h> 2017-03-22 10:03:45 +01:00