HomeFreeBSD

Make use of allocation attributes in system headers.

Description

Make use of allocation attributes in system headers.

Start using 'alloc_size' attribute in the allocator functions.
This is useful as it helps the compiler generate warnings on suspicious
code and can also enable some small optimizations.

This is based on r281130, which brought similar enhnacements
to the standard libc headers.

Details

Provenance
pfgAuthored on
Parents
rS281202: The code says "or", not "either or". So fix the documentation.
Branches
Unknown
Tags
Unknown

Event Timeline