public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] RTEMS: Include missing header and fix stub
@ 2020-03-13 18:51 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2020-03-13 18:51 UTC (permalink / raw)
  To: newlib-cvs

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

commit b37a3388cca2df92c204ab8693b09966dca2dad4
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Fri Mar 13 18:21:36 2020 +0100

    RTEMS: Include missing header and fix stub
    
    Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>

Diff:
---
 newlib/libc/sys/rtems/crt0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index 28db7132a..6b8b5f98f 100644
--- a/newlib/libc/sys/rtems/crt0.c
+++ b/newlib/libc/sys/rtems/crt0.c
@@ -13,6 +13,7 @@
 #include <sys/lock.h>
 #include <sys/stat.h>
 #include <sys/uio.h>
+#include <assert.h>
 #include <reent.h>
 #include <signal.h>
 #include <stdlib.h>
@@ -194,7 +195,7 @@ RTEMS_STUB(void *, _malloc_r(struct _reent * r, size_t s), { return 0; })
 RTEMS_STUB(void, _free_r(struct _reent *r, void *p), { })
 
 /* stubs for functions required by libc/stdlib */
-RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { })
+RTEMS_STUB(void, __assert_func(const char *file, int line, const char *func, const char *failedexpr), { })
 
 #if defined(__arm__)
 RTEMS_STUB(void, __aeabi_read_tp(void), { })


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

only message in thread, other threads:[~2020-03-13 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 18:51 [newlib-cygwin] RTEMS: Include missing header and fix stub Joel Sherrill

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).