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:
parent
2eefeab242
commit
df249c467d
|
@ -14,6 +14,7 @@
|
||||||
* 2010-10-26 yi.qiu add module support
|
* 2010-10-26 yi.qiu add module support
|
||||||
* 2010-11-10 Bernard add cleanup callback function in thread exit.
|
* 2010-11-10 Bernard add cleanup callback function in thread exit.
|
||||||
* 2011-05-09 Bernard use builtin va_arg in GCC 4.x
|
* 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__
|
#ifndef __RT_DEF_H__
|
||||||
|
@ -193,7 +194,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
|
||||||
* @def RT_NULL
|
* @def RT_NULL
|
||||||
* Similar as the \c NULL in C library.
|
* Similar as the \c NULL in C library.
|
||||||
*/
|
*/
|
||||||
#define RT_NULL ((void *)0)
|
#define RT_NULL (0)
|
||||||
|
|
||||||
struct rt_list_node
|
struct rt_list_node
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue