Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/atomic Do not include <stdbool.h> in the kernel
details: https://anonhg.NetBSD.org/src/rev/ea72c3590742
branches: trunk
changeset: 326797:ea72c3590742
user: martin <martin%NetBSD.org@localhost>
date: Tue Feb 18 12:23:07 2014 +0000
description:
Do not include <stdbool.h> in the kernel
diffstat:
common/lib/libc/atomic/atomic_cas_64_cas.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 6b7d83f2aca1 -r ea72c3590742 common/lib/libc/atomic/atomic_cas_64_cas.c
--- a/common/lib/libc/atomic/atomic_cas_64_cas.c Tue Feb 18 10:27:46 2014 +0000
+++ b/common/lib/libc/atomic/atomic_cas_64_cas.c Tue Feb 18 12:23:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_cas_64_cas.c,v 1.1 2014/02/18 10:16:55 martin Exp $ */
+/* $NetBSD: atomic_cas_64_cas.c,v 1.2 2014/02/18 12:23:07 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,7 +29,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <stdbool.h>
+#endif
#include <sys/atomic.h>
#ifdef __HAVE_ATOMIC64_OPS
Home |
Main Index |
Thread Index |
Old Index