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:
parent
ebb0c523d7
commit
a81dfe76fe
|
@ -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>
|
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* Makefile.am: Move cleaning targ-include to clean-local.
|
* Makefile.am: Move cleaning targ-include to clean-local.
|
||||||
|
|
|
@ -24,8 +24,8 @@ ret func
|
||||||
/* RTEMS provides some of its own routines including a Malloc family */
|
/* RTEMS provides some of its own routines including a Malloc family */
|
||||||
RTEMS_STUB(void *,malloc(size_t s)) { return 0; }
|
RTEMS_STUB(void *,malloc(size_t s)) { return 0; }
|
||||||
RTEMS_STUB(void *,realloc(void* p, size_t s)) { return 0; }
|
RTEMS_STUB(void *,realloc(void* p, size_t s)) { return 0; }
|
||||||
RTEMS_STUB(void, free(void)) { ; }
|
RTEMS_STUB(void, free(void* ptr)) { ; }
|
||||||
RTEMS_STUB(_PTR, calloc(struct _reent *r, size_t s1, size_t s2)) {}
|
RTEMS_STUB(_PTR, calloc(size_t s1, size_t s2)) {}
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue