svn commit: r288258 - head/sys/sys

Konstantin Belousov kostikbel at gmail.com
Sat Sep 26 07:36:45 UTC 2015


On Sat, Sep 26, 2015 at 07:30:45AM +0000, Konstantin Belousov wrote:
> Author: kib
> Date: Sat Sep 26 07:30:45 2015
> New Revision: 288258
> URL: https://svnweb.freebsd.org/changeset/base/288258
> 
> Log:
>   Make the __bitcount*() functions unconditionally available, by moving
>   them out of the #if _BSD_VISIBLE block.  Other headers may depend on
>   __bitcount().  The dependencies can be a header not specified by
>   POSIX, and then namespace restrictions by _XOPEN_SOURCE are not
>   applicable, as it was reported.  Or, we might grow an implementation
>   of some POSIX facility using __bitcount(), which also should work.

It was ought to be mentioned in the commit message that all
symbols moved out of the _BSD_VISIBLE protection are in the
implementation-private namespace. In other words, by making the symbols
declared unconditionally, we are still compliant.


More information about the svn-src-all mailing list