HomeFreeBSD

MFC r312942:

Description

MFC r312942:
Remove GCC's __nonnull() attribute definition.

While GCC's nonnull attribute is generally useful to prevent misuse of
some functions it also tends to do rather dangerous "optimizations". Now
that we have replaced all such uses with the clang nullability qualifiers,
the GCC attribute is unnecessary.

Remove the definition completely to prevent its use in system's headers.

Details

Provenance
pfgAuthored on
Parents
rS315601: kvm_open2(3): remove '*' when describing addr argument for `resolver`
Branches
Unknown
Tags
Unknown