change RT_NULL from ((void*)0) to 0.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2422 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2012-11-16 14:54:31 +00:00
parent 2eefeab242
commit df249c467d
1 changed files with 871 additions and 870 deletions

View File

@ -14,6 +14,7 @@
* 2010-10-26 yi.qiu add module support
* 2010-11-10 Bernard add cleanup callback function in thread exit.
* 2011-05-09 Bernard use builtin va_arg in GCC 4.x
* 2012-11-16 Bernard change RT_NULL from ((void*)0) to 0.
*/
#ifndef __RT_DEF_H__
@ -193,7 +194,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
* @def RT_NULL
* Similar as the \c NULL in C library.
*/
#define RT_NULL ((void *)0)
#define RT_NULL (0)
struct rt_list_node
{