* Fix frv libgloss bits for c99/gcc-14
@ 2023-12-23 3:42 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-12-23 3:42 UTC (permalink / raw)
To: newlib
[-- Attachment #1: Type: text/plain, Size: 104 bytes --]
Same as we've seen elsewhere. Add missing prototype and header include.
Pushed to the trunk.
Jeff L.
[-- Attachment #2: P --]
[-- Type: text/plain, Size: 781 bytes --]
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 --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 ()
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-23 3:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23 3:42 Fix frv libgloss bits for c99/gcc-14 Jeff Law
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).