diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2023-12-04 17:42:42 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-12-04 17:01:05 +0100 |
commit | 14d786873c7db25d37b74d8c47ad8f3cbbe1883b (patch) | |
tree | baddd0da43a1376ead521b9b63a572cddd74213b /newlib/libm/machine | |
parent | 04798b7bb69571452d2cfc7e0b052a9bbd3b619d (diff) | |
download | newlib-14d786873c7db25d37b74d8c47ad8f3cbbe1883b.zip newlib-14d786873c7db25d37b74d8c47ad8f3cbbe1883b.tar.gz newlib-14d786873c7db25d37b74d8c47ad8f3cbbe1883b.tar.bz2 |
pru: libm: Fix incorrect function name
Upstream GCC changed -Wimplicit-function-declaration warning into an
error. The build break about missing fpclassifyf function prototype
exposed a bug in the PRU port of libm.
The fix is to use the fpclassify macro for both double and float types.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'newlib/libm/machine')
-rw-r--r-- | newlib/libm/machine/pru/fpclassifyf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/machine/pru/fpclassifyf.c b/newlib/libm/machine/pru/fpclassifyf.c index f4dd201..6d82ea7 100644 --- a/newlib/libm/machine/pru/fpclassifyf.c +++ b/newlib/libm/machine/pru/fpclassifyf.c @@ -32,5 +32,5 @@ by TI ABI. */ int __pruabi_fpclassifyf(float a) { - return fpclassifyf(a); + return fpclassify(a); } |