Module Name: src
Committed By: dholland
Date: Sun Aug 21 21:25:04 UTC 2011
Modified Files:
src/common/lib/libc/string: popcount32.c popcount64.c
Log Message:
Requires stdint.h.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/popcount32.c
cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/popcount64.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/string/popcount32.c
diff -u src/common/lib/libc/string/popcount32.c:1.3 src/common/lib/libc/string/popcount32.c:1.4
--- src/common/lib/libc/string/popcount32.c:1.3 Tue Jul 21 19:56:55 2009
+++ src/common/lib/libc/string/popcount32.c Sun Aug 21 21:25:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $ */
+/* $NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,10 +32,11 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $");
+__RCSID("$NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $");
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <limits.h>
+#include <stdint.h>
#include <strings.h>
#else
#include <lib/libkern/libkern.h>
Index: src/common/lib/libc/string/popcount64.c
diff -u src/common/lib/libc/string/popcount64.c:1.5 src/common/lib/libc/string/popcount64.c:1.6
--- src/common/lib/libc/string/popcount64.c:1.5 Wed Aug 5 15:04:15 2009
+++ src/common/lib/libc/string/popcount64.c Sun Aug 21 21:25:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: popcount64.c,v 1.5 2009/08/05 15:04:15 joerg Exp $ */
+/* $NetBSD: popcount64.c,v 1.6 2011/08/21 21:25:04 dholland Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,10 +32,11 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount64.c,v 1.5 2009/08/05 15:04:15 joerg Exp $");
+__RCSID("$NetBSD: popcount64.c,v 1.6 2011/08/21 21:25:04 dholland Exp $");
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <limits.h>
+#include <stdint.h>
#include <strings.h>
#else
#include <lib/libkern/libkern.h>