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 Add a few missing namespace includes
details: https://anonhg.NetBSD.org/src/rev/bff9af7d9bf0
branches: trunk
changeset: 326893:bff9af7d9bf0
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 21 16:06:48 2014 +0000
description:
Add a few missing namespace includes
diffstat:
common/lib/libc/atomic/atomic_cas_16_cas.c | 4 +++-
common/lib/libc/atomic/atomic_cas_8_cas.c | 4 +++-
common/lib/libc/atomic/atomic_nand_16_cas.c | 4 +++-
common/lib/libc/atomic/atomic_nand_8_cas.c | 4 +++-
common/lib/libc/atomic/atomic_sub_16_cas.c | 4 +++-
common/lib/libc/atomic/atomic_sub_8_cas.c | 4 +++-
common/lib/libc/atomic/atomic_xor_16_cas.c | 4 +++-
common/lib/libc/atomic/atomic_xor_8_cas.c | 4 +++-
8 files changed, 24 insertions(+), 8 deletions(-)
diffs (144 lines):
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_cas_16_cas.c
--- a/common/lib/libc/atomic/atomic_cas_16_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_cas_16_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_cas_16_cas.c,v 1.2 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_cas_16_cas.c,v 1.3 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <stdbool.h>
#endif
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_cas_8_cas.c
--- a/common/lib/libc/atomic/atomic_cas_8_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_cas_8_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_cas_8_cas.c,v 1.2 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_cas_8_cas.c,v 1.3 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <stdbool.h>
#endif
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_nand_16_cas.c
--- a/common/lib/libc/atomic/atomic_nand_16_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_nand_16_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_16_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_nand_16_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint16_t fetch_and_nand_2(volatile uint16_t *, uint16_t, ...)
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_nand_8_cas.c
--- a/common/lib/libc/atomic/atomic_nand_8_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_nand_8_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_nand_8_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_nand_8_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint8_t fetch_and_nand_1(volatile uint8_t *, uint8_t, ...)
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_sub_16_cas.c
--- a/common/lib/libc/atomic/atomic_sub_16_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_sub_16_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_sub_16_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_sub_16_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint16_t fetch_and_sub_2(volatile uint16_t *, uint16_t, ...)
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_sub_8_cas.c
--- a/common/lib/libc/atomic/atomic_sub_8_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_sub_8_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_sub_8_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_sub_8_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint8_t fetch_and_sub_1(volatile uint8_t *, uint8_t, ...)
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_xor_16_cas.c
--- a/common/lib/libc/atomic/atomic_xor_16_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_xor_16_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_xor_16_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_xor_16_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint16_t fetch_and_xor_2(volatile uint16_t *, uint16_t, ...)
diff -r 6d3b9c9160c5 -r bff9af7d9bf0 common/lib/libc/atomic/atomic_xor_8_cas.c
--- a/common/lib/libc/atomic/atomic_xor_8_cas.c Fri Feb 21 15:52:53 2014 +0000
+++ b/common/lib/libc/atomic/atomic_xor_8_cas.c Fri Feb 21 16:06:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_xor_8_cas.c,v 1.1 2014/02/21 15:51:07 martin Exp $ */
+/* $NetBSD: atomic_xor_8_cas.c,v 1.2 2014/02/21 16:06:48 martin Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -29,6 +29,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "atomic_op_namespace.h"
+
#include <sys/atomic.h>
uint8_t fetch_and_xor_1(volatile uint8_t *, uint8_t, ...)
Home |
Main Index |
Thread Index |
Old Index