Revert "解决将RT_NULL当做数字0使用的问题"

This reverts commit 6a05ddf63d.
This commit is contained in:
Meco Man
2022-07-01 15:51:28 +08:00
committed by guo
parent 6a05ddf63d
commit 9623706eff
4 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -123,11 +123,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define RT_FALSE 0 /**< boolean fails */
/* null pointer definition */
#ifdef RT_USING_LIBC
#define RT_NULL NULL /**< null pointer */
#else
#define RT_NULL (0) /**< null pointer */
#endif /* RT_USING_LIBC */
#define RT_NULL 0
/**@}*/