summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-01-11 10:56:49 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-01-11 10:56:49 +0300
commit751c3e6c418828fe9e613372df5908f32020a31e (patch)
tree52b251801b78d9c11940396ed1f516d5733f8e12 /src
parent1f17ad4c1f868a203d972cc70c2cb1606c613aa6 (diff)
downloadlibatomic_ops-751c3e6c418828fe9e613372df5908f32020a31e.tar.gz
Decorate aligned attribute with double underscores in gcc/m68k.h
* src/atomic_ops/sysdeps/gcc/m68k.h (AO_t): Use __aligned__ instead of aligned.
Diffstat (limited to 'src')
-rw-r--r--src/atomic_ops/sysdeps/gcc/m68k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/m68k.h b/src/atomic_ops/sysdeps/gcc/m68k.h
index 665f7c1..1cf4833 100644
--- a/src/atomic_ops/sysdeps/gcc/m68k.h
+++ b/src/atomic_ops/sysdeps/gcc/m68k.h
@@ -18,7 +18,7 @@
/* The cas instruction causes an emulation trap for the */
/* 060 with a misaligned pointer, so let's avoid this. */
#undef AO_t
-typedef unsigned long AO_t __attribute__ ((aligned (4)));
+typedef unsigned long AO_t __attribute__((__aligned__(4)));
/* FIXME. Very incomplete. */
#include "../all_aligned_atomic_load_store.h"