summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-22 17:02:45 +0800
committerMeco Man <[email protected]>2021-02-22 17:02:45 +0800
commit19c8cab8bd4dcb9f0e36e4502d7a8ec7337d664b (patch)
treeb1afe79f2c7f673eb807c31228430a201e15ced2 /components/libc/compilers/common
parent69dc37e1aa8806d3ef17b8f6fa3d33284b26ef60 (diff)
update
Diffstat (limited to 'components/libc/compilers/common')
-rw-r--r--components/libc/compilers/common/unistd.c8
1 files changed, 1 insertions, 7 deletions
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;