diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
| commit | 169daa11155988a210fac949297381743f3cb400 (patch) | |
| tree | 602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libm/libm.h | |
| parent | 4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff) | |
feat: clang-tidy fixes
Diffstat (limited to 'lib/libm/libm.h')
| -rw-r--r-- | lib/libm/libm.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libm/libm.h b/lib/libm/libm.h index 6f57c128..5d37249e 100644 --- a/lib/libm/libm.h +++ b/lib/libm/libm.h @@ -1,9 +1,7 @@ #ifndef _LIBM_H #define _LIBM_H -#include <asm/fpmath.h> #include <float.h> -#include <math.h> #include <stdint.h> #define hidden __attribute__((visibility("hidden"))) @@ -346,6 +344,6 @@ hidden long double __math_invalidl(long double); #endif #define weak_alias(old, new) \ - extern __typeof(old) new __attribute__((__weak__, __alias__(#old))) + extern __typeof(old)(new) __attribute__((__weak__, __alias__(#old))) #endif |
