Re: Fix moxie libgloss issues with c99

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84v6Tu6JjjQ4oXfutswRihs60JDHcRpLv54o+W4m4S5Hdg@mail.gmail.com>
Please go ahead.

-- Jeff J.

On Thu, Dec 14, 2023 at 2:26 PM Jeff Law <[email protected]> wrote:

>
> Two libgloss issues specific to moxie-elf that show up build with GCC
> trunk.
>
> First, putnum.c uses "print" without a prototype.  So I added one based
> on the function's definition in print.c.  Second sim-inbyte.c uses read,
> which comes from unistd.h, so this adds a suitable #include.
>
> OK for the trunk?
>
> Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.