summaryrefslogtreecommitdiff
path: root/libc/stdio/_cs_funcs.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-19 23:26:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-20 20:04:02 +0100
commit9ff01fc11a5d10108a10655b1751aa406aedae0a (patch)
tree1af40f23c06db0e3979e03a8d3e7c89451abd121 /libc/stdio/_cs_funcs.c
parentb39b5151b937c4d36ff293b62cee988378245fac (diff)
sys/cdefs.h: add definition of __attribute_alloc_size__
Commit cee0b058fa0b4501b289a2da365182d60314d746 ("add aligned_alloc required for latest gcc libstdc++") added the prototype of aligned_alloc() to <stdlib.h>. This prototype contains '__attribute_alloc_size__ ((2))', but this is not defined anywhere in uClibc-ng. This commit addresses that by adding the relevant definition in <sys/cdefs.h>, borrowed from glibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'libc/stdio/_cs_funcs.c')
0 files changed, 0 insertions, 0 deletions