Home
last modified time | relevance | path

Searched hist:"9143 e6e49afc1bee47713c740c1fe290690739b6" (Results 1 – 1 of 1) sorted by relevance

/freebsd/include/
H A Dstdlib.hdiff 9143e6e49afc1bee47713c740c1fe290690739b6 Wed Jul 06 00:30:29 CEST 2016 Pedro F. Giffuni <pfg@FreeBSD.org> Remove incorrect attributes from posix_memalign(3) declaration.

Both __alloc_align and __alloc_size can't be used when the function
returns a pointer to memory. This fixes breakage when building with
clang 3.4:

In file included from /usr/src/svn/usr.sbin/bhyve/atkbdc.c:40:
/usr/include/stdlib.h:176:6: error: '__alloc_size__' attribute only
applies to functions that return a pointer [-Werror,-Wignored-attributes]

Pointed out by: ngie, cem
Approved by: re (gjb)