We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69dc37e commit 19c8cabCopy full SHA for 19c8cab
components/libc/compilers/common/unistd.c
@@ -50,13 +50,7 @@ int usleep(useconds_t usec)
50
}
51
RTM_EXPORT(usleep);
52
53
-pid_t
54
-#if defined (RT_USING_NEWLIB)
55
-__rt_libc_getpid
56
-#else
57
-getpid
58
-#endif
59
-(void)
+pid_t getpid(void)
60
{
61
/*TODO*/
62
return 0;
components/libc/compilers/newlib/syscalls.c
@@ -38,8 +38,7 @@ __errno ()
38
int
39
_getpid_r(struct _reent *ptr)
40
41
- extern pid_t __rt_libc_getpid(void);
42
- return __rt_libc_getpid();
+ return 0;
43
44
45
0 commit comments