public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix frv libgloss bits for c99/gcc-14\ Date: Sat, 23 Dec 2023 03:41:42 +0000 (GMT) [thread overview] Message-ID: <20231223034142.CAC563858D33@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6 commit 9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6 Author: Jeff Law <jeffreyalaw@gmail.com> Date: Fri Dec 22 20:40:21 2023 -0700 Fix frv libgloss bits for c99/gcc-14\ Same as we've seen elsewhere. Add missing prototype and header include. Diff: --- libgloss/frv/putnum.c | 2 ++ libgloss/frv/sim-inbyte.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libgloss/frv/putnum.c b/libgloss/frv/putnum.c index a07315e13..b2b2c4435 100644 --- a/libgloss/frv/putnum.c +++ b/libgloss/frv/putnum.c @@ -14,6 +14,8 @@ */ #include "glue.h" +extern void print (char *ptr); + /* * putnum -- print a 32 bit number in hex */ diff --git a/libgloss/frv/sim-inbyte.c b/libgloss/frv/sim-inbyte.c index 9d39751b3..f5f49b9b3 100644 --- a/libgloss/frv/sim-inbyte.c +++ b/libgloss/frv/sim-inbyte.c @@ -14,6 +14,8 @@ * they apply. */ +#include <unistd.h> + int inbyte () {
reply other threads:[~2023-12-23 3:41 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=20231223034142.CAC563858D33@sourceware.org \ --to=law@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).