public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] pru: libm: Fix incorrect function name Date: Mon, 4 Dec 2023 16:38:13 +0000 (GMT) [thread overview] Message-ID: <20231204163813.B30413858C5E@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=14d786873c7db25d37b74d8c47ad8f3cbbe1883b commit 14d786873c7db25d37b74d8c47ad8f3cbbe1883b Author: Dimitar Dimitrov <dimitar@dinux.eu> AuthorDate: Mon Dec 4 17:42:42 2023 +0200 Commit: Corinna Vinschen <corinna@vinschen.de> CommitDate: Mon Dec 4 17:01:05 2023 +0100 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> Diff: --- newlib/libm/machine/pru/fpclassifyf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libm/machine/pru/fpclassifyf.c b/newlib/libm/machine/pru/fpclassifyf.c index f4dd201d9729..6d82ea77773e 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); }
reply other threads:[~2023-12-04 16:38 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231204163813.B30413858C5E@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).