Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
a5f51e407e
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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