Browse Source

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 15 years ago
parent
commit
a5f51e407e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      libc/minilibc/stdlib.h

+ 5 - 0
libc/minilibc/stdlib.h

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