summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-01-11 10:56:49 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-09-09 08:33:16 +0300
commitc88ef3385a4277e4cbf536ab5a1365a2d47ac1ef (patch)
treeca9b9dc5895c004d3561ad60328937b1d630f5cf
parentce2a4df9086f3c603b79d01290bfa89f5f055f73 (diff)
downloadlibatomic_ops-c88ef3385a4277e4cbf536ab5a1365a2d47ac1ef.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.
-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"