You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/23 02:29:00 UTC
[incubator-nuttx] 11/16: libs: libc: nxstyle fixes
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit e8606942ebac5df578ee25323dd23a831a2ad4e7
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 22:03:54 2021 +0100
libs: libc: nxstyle fixes
nxstyle fixes to pass CI
Signed-off-by: Alin Jerpelea <al...@sony.com>
---
libs/libc/machine/arm/armv7-m/arch_fabsf.c | 2 +-
libs/libc/machine/arm/armv7-m/arch_sqrtf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/libc/machine/arm/armv7-m/arch_fabsf.c b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
index a065e2d..5a3c6b8 100644
--- a/libs/libc/machine/arm/armv7-m/arch_fabsf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
@@ -34,7 +34,7 @@
float fabsf(float x)
{
float result;
- asm volatile ( "vabs.f32\t%0, %1" : "=t" (result) : "t" (x) );
+ asm volatile ("vabs.f32\t%0, %1" : "=t" (result) : "t" (x));
return result;
}
diff --git a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
index 2781ca1..3bf1251 100644
--- a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
@@ -34,7 +34,7 @@
float sqrtf(float x)
{
float result;
- asm volatile ( "vsqrt.f32\t%0, %1" : "=t" (result) : "t" (x) );
+ asm volatile ("vsqrt.f32\t%0, %1" : "=t" (result) : "t" (x));
return result;
}