aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/rtems/crt0.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2011-01-07 19:27:33 +0000
committerJeff Johnston <jjohnstn@redhat.com>2011-01-07 19:27:33 +0000
commita81dfe76fec6a4a0b35a6a62f5f4ec55e81ecb7c (patch)
treeb511aa41341d08ef033ebcf41d4a12c45e971b8a /newlib/libc/sys/rtems/crt0.c
parentebb0c523d720a1ad5fb3258b2c8305b50109f8c6 (diff)
downloadnewlib-a81dfe76fec6a4a0b35a6a62f5f4ec55e81ecb7c.zip
newlib-a81dfe76fec6a4a0b35a6a62f5f4ec55e81ecb7c.tar.gz
newlib-a81dfe76fec6a4a0b35a6a62f5f4ec55e81ecb7c.tar.bz2
2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their public decls.
Diffstat (limited to 'newlib/libc/sys/rtems/crt0.c')
-rw-r--r--newlib/libc/sys/rtems/crt0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index b2b1cba..30b1219 100644
--- a/newlib/libc/sys/rtems/crt0.c
+++ b/newlib/libc/sys/rtems/crt0.c
@@ -24,8 +24,8 @@ ret func
/* RTEMS provides some of its own routines including a Malloc family */
RTEMS_STUB(void *,malloc(size_t s)) { return 0; }
RTEMS_STUB(void *,realloc(void* p, size_t s)) { return 0; }
-RTEMS_STUB(void, free(void)) { ; }
-RTEMS_STUB(_PTR, calloc(struct _reent *r, size_t s1, size_t s2)) {}
+RTEMS_STUB(void, free(void* ptr)) { ; }
+RTEMS_STUB(_PTR, calloc(size_t s1, size_t s2)) {}
#if defined(__GNUC__)
/*