2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>

* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
        public decls.
This commit is contained in:
Jeff Johnston 2011-01-07 19:27:33 +00:00
parent ebb0c523d7
commit a81dfe76fe
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
public decls.
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Move cleaning targ-include to clean-local.

View File

@ -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__)
/*