提交 df249c46 编写于 作者: B bernard.xiong@gmail.com

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

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2422 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 2eefeab2
......@@ -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
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册