summaryrefslogtreecommitdiff
path: root/lib/libm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 02:01:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 02:01:19 +0000
commitbca10c250b0643dabec71519d1d6cf5f3a5745f1 (patch)
tree75d549922f99f39250e8d132228a5eb11884e8ee /lib/libm
parent1f28581e3209c6fd3416410ce3db0248b5e476cf (diff)
use ansi volatile keyword, not __volatile
ok miod@ guenther@
Diffstat (limited to 'lib/libm')
-rw-r--r--lib/libm/arch/aarch64/fenv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libm/arch/aarch64/fenv.c b/lib/libm/arch/aarch64/fenv.c
index 7aca2b86b26..f660df6e342 100644
--- a/lib/libm/arch/aarch64/fenv.c
+++ b/lib/libm/arch/aarch64/fenv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fenv.c,v 1.4 2020/07/09 22:13:29 kettenis Exp $ */
+/* $OpenBSD: fenv.c,v 1.5 2022/08/29 02:01:18 jsg Exp $ */
/*-
* Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
* All rights reserved.
@@ -34,11 +34,11 @@
#define _FPUSW_SHIFT 8
#define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
-#define __mrs_fpcr(r) __asm __volatile("mrs %x0, fpcr" : "=r" (r))
-#define __msr_fpcr(r) __asm __volatile("msr fpcr, %x0" : : "r" (r))
+#define __mrs_fpcr(r) __asm volatile("mrs %x0, fpcr" : "=r" (r))
+#define __msr_fpcr(r) __asm volatile("msr fpcr, %x0" : : "r" (r))
-#define __mrs_fpsr(r) __asm __volatile("mrs %x0, fpsr" : "=r" (r))
-#define __msr_fpsr(r) __asm __volatile("msr fpsr, %x0" : : "r" (r))
+#define __mrs_fpsr(r) __asm volatile("mrs %x0, fpsr" : "=r" (r))
+#define __msr_fpsr(r) __asm volatile("msr fpsr, %x0" : : "r" (r))
/*
* The following constant represents the default floating-point environment