Fix gcc80 -Wnonnull-compare.
commit6329e2f68af73662a1960240675e796ab586bcb1
authorSascha Wildner <saw@online.de>
Mon, 22 Jan 2018 12:26:58 +0000 (22 13:26 +0100)
committerSascha Wildner <saw@online.de>
Mon, 22 Jan 2018 12:26:58 +0000 (22 13:26 +0100)
tree99d3aac51ed5ff832d37ec495258b0e255c8739d
parentd4548c479b343e1c680e0ac11a26753138a8ae59
Fix gcc80 -Wnonnull-compare.

For arguments that are checked against NULL in the function, we don't
want a nonnull attribute, because that will cause the NULL check to be
optimized away in higher -O levels and it will also trigger a
-Wnonnull-compare warning.

See also 0f037c78525bfb7df49de8338826e15137859b1d commit message.
contrib/openpam/include/security/openpam.h
contrib/openpam/include/security/pam_appl.h
games/hack/hack.h
include/err.h