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>
This commit is contained in:
Dimitar Dimitrov 2023-12-04 17:42:42 +02:00 committed by Corinna Vinschen
parent 04798b7bb6
commit 14d786873c
1 changed files with 1 additions and 1 deletions

View File

@ -32,5 +32,5 @@
by TI ABI. */
int __pruabi_fpclassifyf(float a)
{
return fpclassifyf(a);
return fpclassify(a);
}