From a5f51e407ebd737a775e4d62bb7f381caa8ee103 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Sun, 11 Oct 2009 05:47:01 +0000 Subject: add malloc related definition to rt_malloc. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@89 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- libc/minilibc/stdlib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc') 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 -- cgit v1.3.1