summaryrefslogtreecommitdiff
path: root/src/atomic_ops
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-10-05 21:47:35 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-10-05 21:47:35 +0300
commit2f18c21601472fac497d9d6bd3f5881ad75254ce (patch)
tree332c51f37a1a9f077e34a9c085908967150097e4 /src/atomic_ops
parentb1365bde2444003ca95bc28ff06bdd34a81839a7 (diff)
downloadlibatomic_ops-2f18c21601472fac497d9d6bd3f5881ad75254ce.tar.gz
Fix typos in 'error' pragma messages
* src/atomic_ops.h [_HPUX_SOURCE && !__ia64] (AO_barrier_dummy): Fix typo ("do not") in comment. * src/atomic_ops/generalize.h [AO_HAVE_nop_acquire]: Fix typo ("do not") in #error message. * src/atomic_ops/generalize.h [AO_HAVE_nop_release]: Likewise. * src/atomic_ops/sysdeps/armcc/arm_v6.h [__TARGET_ARCH_ARM < 6]: Likewise. * src/atomic_ops/sysdeps/armcc/arm_v6.h [__TARGET_ARCH_ARM < 6]: Add #error pragma. * src/atomic_ops_stack.c [AO_HAVE_compare_and_swap_double]: Fix typo ("does not") in #error message.
Diffstat (limited to 'src/atomic_ops')
-rw-r--r--src/atomic_ops/generalize.h4
-rw-r--r--src/atomic_ops/sysdeps/armcc/arm_v6.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/atomic_ops/generalize.h b/src/atomic_ops/generalize.h
index 317c5e7..6b17163 100644
--- a/src/atomic_ops/generalize.h
+++ b/src/atomic_ops/generalize.h
@@ -188,10 +188,10 @@
#endif
#if defined(AO_HAVE_nop_acquire)
-# error AO_nop_acquire is useless: dont define.
+# error AO_nop_acquire is useless: do not define.
#endif
#if defined(AO_HAVE_nop_release)
-# error AO_nop_release is useless: dont define.
+# error AO_nop_release is useless: do not define.
#endif
#if defined(AO_HAVE_nop_full) && !defined(AO_HAVE_nop_read)
diff --git a/src/atomic_ops/sysdeps/armcc/arm_v6.h b/src/atomic_ops/sysdeps/armcc/arm_v6.h
index 9376e5b..c205deb 100644
--- a/src/atomic_ops/sysdeps/armcc/arm_v6.h
+++ b/src/atomic_ops/sysdeps/armcc/arm_v6.h
@@ -23,7 +23,7 @@
#include "../test_and_set_t_is_ao_t.h" /* Probably suboptimal */
#if __TARGET_ARCH_ARM < 6
-Dont use with ARM instruction sets lower than v6
+# error Do not use with ARM instruction sets lower than v6
#else
#define AO_ACCESS_CHECK_ALIGNED