summaryrefslogtreecommitdiffstats
path: root/share/misc
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-07-05 22:30:29 +0000
committerpfg <pfg@FreeBSD.org>2016-07-05 22:30:29 +0000
commit215099e03fa8ce2b0ae106485a6d1ae98dcae3c3 (patch)
tree1e9db5a9886f7d913341391d2601c6e7e12b7fb7 /share/misc
parent5db3d6aa0a0fb46fba9a845f2d7b7cacfa8fec90 (diff)
downloadFreeBSD-src-215099e03fa8ce2b0ae106485a6d1ae98dcae3c3.zip
FreeBSD-src-215099e03fa8ce2b0ae106485a6d1ae98dcae3c3.tar.gz
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)
Diffstat (limited to 'share/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud