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

This reverts commit 6a05ddf63d.
This commit is contained in:
Meco Man
2022-07-01 03:00:53 -04:00
committed by guo
parent 6a05ddf63d
commit 9623706eff
4 changed files with 5 additions and 9 deletions

View File

@@ -136,7 +136,7 @@ void _pthread_data_destroy(_pthread_data_t *ptd)
ptd->magic = 0x0;
/* clear the "ptd->tid->user_data" */
ptd->tid->user_data = 0;
ptd->tid->user_data = RT_NULL;
/* free ptd */
rt_free(ptd);