public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix newlib H8/300 bits for C99/gcc-14
@ 2023-12-23  3:25 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-12-23  3:25 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=dc7ee581321c4023f9ffe0c9f609071354ba1512

commit dc7ee581321c4023f9ffe0c9f609071354ba1512
Author: Jeff Law <jeffreyalaw@gmail.com>
Date:   Fri Dec 22 20:25:10 2023 -0700

    Fix newlib H8/300 bits for C99/gcc-14
    
    Similar to other patches.  This adds a missing prototype and #include to some
    H8/300 specific code in newlib.  Pushed to the trunk given Jeff J's
    pre-approval for these kinds of changes.

Diff:
---
 newlib/libc/sys/h8300hms/sbrk.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/sys/h8300hms/sbrk.c b/newlib/libc/sys/h8300hms/sbrk.c
index 1456a67eb..a99ae2904 100644
--- a/newlib/libc/sys/h8300hms/sbrk.c
+++ b/newlib/libc/sys/h8300hms/sbrk.c
@@ -1,8 +1,10 @@
 #include <_ansi.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <stdlib.h>
 
 register char *stack_ptr asm ("sp");
+extern int _write (int, char *, int);
 
 caddr_t 
   _sbrk(incr)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-23  3:25 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:25 [newlib-cygwin] Fix newlib H8/300 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).