]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r311012
authorpfg <pfg@FreeBSD.org>
Wed, 4 Jan 2017 02:51:39 +0000 (02:51 +0000)
committerpfg <pfg@FreeBSD.org>
Wed, 4 Jan 2017 02:51:39 +0000 (02:51 +0000)
commitb35cea348418775924c59bdeb3820315fd8d1ef5
tree0e64044cb4300cc564aa4faf1e1cbbd3f589feb4
parentd33dc2f1033f927596031438c912c4dc3fa73e97
MFC r311012
Remove some uses of the GCC __nonnull() attribute.

While the checks are considered useful, the attribute does dangerous
optimizations, removing NULL checks where they can be needed. Remove the
uses of this attribute introduced in r281130: the changes were inspired on
Google's bionic where this attribute is not used anymore.

In general, the __nonnull() attribute has fulfilled its roll and will be
replaced with the Clang _Nonnull qualifier in the future.
include/pthread.h
include/signal.h
include/stdlib.h