summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2009-10-11 05:47:01 +0000
committerbernard.xiong <[email protected]>2009-10-11 05:47:01 +0000
commita5f51e407ebd737a775e4d62bb7f381caa8ee103 (patch)
tree9037ae7eb7ac2fa45b7e07c559285b625f6fcec0
parent939eaa338f11a259ef4962b6f7ff46c126db0192 (diff)
add malloc related definition to rt_malloc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@89 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--libc/minilibc/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/minilibc/stdlib.h b/libc/minilibc/stdlib.h
index c9061a7ab1..89318b30d9 100644
--- a/libc/minilibc/stdlib.h
+++ b/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