aboutsummaryrefslogtreecommitdiff
path: root/src/accessor.h
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:29:48 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:29:48 +0100
commitb11cf48853bc4eccde60bc82180025f0797fa823 (patch)
tree7244ab889590066ff2a26ba3c1f475e7dae79130 /src/accessor.h
parent9853d19b4de3e66138da8b3e66ccdaea356ea35b (diff)
downloadsst-b11cf48853bc4eccde60bc82180025f0797fa823.tar.gz
sst-b11cf48853bc4eccde60bc82180025f0797fa823.zip
Use shorter spellings of __asm and __attribute
Turns out, there's no need for the trailing underscores. Plus, glibc does some stupid stuff with __attribute__ for non-GCC compilers. Not that that matters here, but it seems like a good practice just to use the forms that never have such problems. And it's shorter too.
Diffstat (limited to 'src/accessor.h')
-rw-r--r--src/accessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/accessor.h b/src/accessor.h
index ec63b3c..ef05309 100644
--- a/src/accessor.h
+++ b/src/accessor.h
@@ -21,7 +21,7 @@
#include "mem.h"
#if defined(__GNUC__) || defined(__clang__)
-#define _ACCESSOR_UNUSED __attribute__((unused))
+#define _ACCESSOR_UNUSED __attribute((unused))
#else
#define _ACCESSOR_UNUSED
#endif