Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2023-12-04 18:42:42 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-12-04 19:01:05 +0300
commit14d786873c7db25d37b74d8c47ad8f3cbbe1883b (patch)
treebaddd0da43a1376ead521b9b63a572cddd74213b /newlib
parent04798b7bb69571452d2cfc7e0b052a9bbd3b619d (diff)
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')
-rw-r--r--newlib/libm/machine/pru/fpclassifyf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/machine/pru/fpclassifyf.c b/newlib/libm/machine/pru/fpclassifyf.c
index f4dd201d9..6d82ea777 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);
}