Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string Add patch from Klaus Klein in PR 45258 to no...



details:   https://anonhg.NetBSD.org/src/rev/fc63712f693c
branches:  trunk
changeset: 768596:fc63712f693c
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Aug 22 01:36:04 2011 +0000

description:
Add patch from Klaus Klein in PR 45258 to note that popcount32/64
require <stdint.h>.

diffstat:

 lib/libc/string/popcount.3 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r dc7e61fcfca2 -r fc63712f693c lib/libc/string/popcount.3
--- a/lib/libc/string/popcount.3        Mon Aug 22 01:24:15 2011 +0000
+++ b/lib/libc/string/popcount.3        Mon Aug 22 01:36:04 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: popcount.3,v 1.4 2009/07/22 07:07:27 wiz Exp $
+.\"    $NetBSD: popcount.3,v 1.5 2011/08/22 01:36:04 dholland Exp $
 .\"
 .\" Copyright (c) 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 13, 2009
+.Dd August 22, 2011
 .Dt POPCOUNT 3
 .Os
 .Sh NAME
@@ -47,6 +47,7 @@
 .Fn popcountl "unsigned long value"
 .Ft unsigned int
 .Fn popcountll "unsigned long long value"
+.In stdint.h
 .Ft unsigned int
 .Fn popcount32 "uint32_t value"
 .Ft unsigned int



Home | Main Index | Thread Index | Old Index