提交 19c8cab8 编写于 作者: mysterywolf's avatar mysterywolf

update

上级 69dc37e1
......@@ -50,13 +50,7 @@ int usleep(useconds_t usec)
}
RTM_EXPORT(usleep);
pid_t
#if defined (RT_USING_NEWLIB)
__rt_libc_getpid
#else
getpid
#endif
(void)
pid_t getpid(void)
{
/*TODO*/
return 0;
......
......@@ -38,8 +38,7 @@ __errno ()
int
_getpid_r(struct _reent *ptr)
{
extern pid_t __rt_libc_getpid(void);
return __rt_libc_getpid();
return 0;
}
int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册