summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
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;