* Fix another missing header file for mcore libgloss
@ 2023-12-30 4:27 Jeff Law
0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-12-30 4:27 UTC (permalink / raw)
To: newlib
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
I guess I must have missed this when working through the trivial port
specific changes.
This adds an include of stdlib.h to get a prototype for exit().
Pushed to the trunk.
jeff
[-- Attachment #2: P --]
[-- Type: text/plain, Size: 689 bytes --]
commit 7ef32a98cdf74157ae734a7a833af5171585db0c
Author: Jeff Law <jeffreyalaw@gmail.com>
Date: Fri Dec 29 21:23:26 2023 -0700
Fix another missing header file for mcore libgloss
I guess I must have missed this when working through the trivial port specific
changes.
This adds an include of stdlib.h to get a prototype for exit().
Pushed to the trunk.
diff --git a/libgloss/mcore/sbrk.c b/libgloss/mcore/sbrk.c
index 1eb8047fc..c6860194c 100644
--- a/libgloss/mcore/sbrk.c
+++ b/libgloss/mcore/sbrk.c
@@ -14,6 +14,7 @@
*/
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
#include "glue.h"
extern int _write (int, char *, int);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-30 4:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-30 4:27 Fix another missing header file for mcore libgloss 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).