Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 10:36:38 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r288258 - head/sys/sys
Message-ID:  <20150926073638.GS67105@kib.kiev.ua>
In-Reply-To: <201509260730.t8Q7UjsJ019502@repo.freebsd.org>
References:  <201509260730.t8Q7UjsJ019502@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150926073638.GS67105>