]> xenbits.xensource.com Git - people/julieng/freebsd.git/commit
Make the __bitcount*() functions unconditionally available, by moving
authorkib <kib@FreeBSD.org>
Sat, 26 Sep 2015 07:30:45 +0000 (07:30 +0000)
committerkib <kib@FreeBSD.org>
Sat, 26 Sep 2015 07:30:45 +0000 (07:30 +0000)
commit278a90b919a7cc851a7f86a116561998d1f051b4
tree65607e0f296479ec33bdd7aae010b1f49e8f4482
parenta96b01fd6f7b32df731ffb8fb73057d9288d6b39
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.

Reported by: Jason Schulz <schulz.j@gmail.com>
Discussed with: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sys/sys/types.h