From e8606942ebac5df578ee25323dd23a831a2ad4e7 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Sun, 21 Mar 2021 22:03:54 +0100 Subject: [PATCH] libs: libc: nxstyle fixes nxstyle fixes to pass CI Signed-off-by: Alin Jerpelea --- 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 a065e2d65c..5a3c6b859a 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 2781ca161b..3bf12514b3 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; }