summaryrefslogtreecommitdiffhomepage
path: root/src/compat/memneq/memneq.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-27 00:49:16 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-03-02 16:42:29 +0100
commit442242a06a459388c6edb1c7a99a99b062b20250 (patch)
tree9debb54fbaa68f9f1025f975ca4d670634f433a8 /src/compat/memneq/memneq.c
parent17f5a7cfb34d39005b1cf463a45c61da116530ee (diff)
global: in gnu code, use un-underscored asm
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/memneq/memneq.c')
-rw-r--r--src/compat/memneq/memneq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/memneq/memneq.c b/src/compat/memneq/memneq.c
index 0bcb4b8..1c427d4 100644
--- a/src/compat/memneq/memneq.c
+++ b/src/compat/memneq/memneq.c
@@ -62,7 +62,7 @@
#include <crypto/algapi.h>
/* Make the optimizer believe the variable can be manipulated arbitrarily. */
-#define COMPILER_OPTIMIZER_HIDE_VAR(var) __asm__ ("" : "=r" (var) : "0" (var))
+#define COMPILER_OPTIMIZER_HIDE_VAR(var) asm("" : "=r" (var) : "0" (var))
#ifndef __HAVE_ARCH_CRYPTO_MEMNEQ