4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 06:19:24 +08:00
bernard.xiong a5f51e407e add malloc related definition to rt_malloc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@89 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-11 05:47:01 +00:00

28 lines
667 B
C

/*
* File : stdlib.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2008, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2008-08-14 Bernard the first version
*/
#ifndef __STDLIB_H__
#define __STDLIB_H__
#if !defined (RT_USING_NEWLIB) && defined (RT_USING_MINILIBC)
int atoi(const char *nptr);
#endif
#define malloc rt_malloc
#define free rt_free
#define realloc rt_realloc
#define calloc rt_calloc
#endif