forked from len0rd/rockbox
realloc takes a void * as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@722 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
63ab180d3c
commit
5f482edaf3
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ void free(void *memp)
|
||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
void *realloc(char *ptr, size_t size)
|
void *realloc(void *ptr, size_t size)
|
||||||
{
|
{
|
||||||
struct MemInfo *meminfo = (struct MemInfo *)
|
struct MemInfo *meminfo = (struct MemInfo *)
|
||||||
((char *)ptr- sizeof(struct MemInfo));
|
((char *)ptr- sizeof(struct MemInfo));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue