From 19c8cab8bd4dcb9f0e36e4502d7a8ec7337d664b Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 22 Feb 2021 17:02:45 +0800 Subject: update --- components/libc/compilers/common/unistd.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'components/libc/compilers/common') diff --git a/components/libc/compilers/common/unistd.c b/components/libc/compilers/common/unistd.c index 7ecd455480..0966242e55 100644 --- a/components/libc/compilers/common/unistd.c +++ b/components/libc/compilers/common/unistd.c @@ -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; -- cgit v1.3.1