diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-22 20:40:21 -0700 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2023-12-22 20:40:21 -0700 |
commit | 9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6 (patch) | |
tree | 9526c1dae243b19a0640db14ff1abf67544c179a /libgloss | |
parent | dc7ee581321c4023f9ffe0c9f609071354ba1512 (diff) | |
download | newlib-9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6.zip newlib-9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6.tar.gz newlib-9f3e8ba3b25e162a3c1f383a4c7a84b96fa81cd6.tar.bz2 |
Fix frv libgloss bits for c99/gcc-14\
Same as we've seen elsewhere. Add missing prototype and header include.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/frv/putnum.c | 2 | ||||
-rw-r--r-- | libgloss/frv/sim-inbyte.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libgloss/frv/putnum.c b/libgloss/frv/putnum.c index a07315e..b2b2c44 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 9d39751..f5f49b9 100644 --- a/libgloss/frv/sim-inbyte.c +++ b/libgloss/frv/sim-inbyte.c @@ -14,6 +14,8 @@ * they apply. */ +#include <unistd.h> + int inbyte () { |