소스 검색

add malloc related definition to rt_malloc.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@89 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 16 년 전
부모
커밋
a5f51e407e
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      libc/minilibc/stdlib.h

+ 5 - 0
libc/minilibc/stdlib.h

@@ -19,4 +19,9 @@
 int atoi(const char *nptr);
 #endif
 
+#define malloc  rt_malloc
+#define free    rt_free
+#define realloc rt_realloc
+#define calloc  rt_calloc
+
 #endif