mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-28 16:20:24 +08:00
74bf69110e
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2429 bbd45198-f89e-11dd-88c7-29a3b14d5316
20 lines
240 B
C
20 lines
240 B
C
|
|
#include "rtthread.h"
|
|
|
|
#pragma import(__use_no_heap)
|
|
|
|
void * malloc(int n)
|
|
{
|
|
return rt_malloc(n);
|
|
}
|
|
|
|
void * realloc(void *rmem, rt_size_t newsize)
|
|
{
|
|
return rt_realloc(rmem, newsize);
|
|
}
|
|
|
|
void free(void *rmem)
|
|
{
|
|
rt_free(rmem);
|
|
}
|