diff options
| author | Meco Man <[email protected]> | 2021-02-22 17:02:45 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-22 17:02:45 +0800 |
| commit | 19c8cab8bd4dcb9f0e36e4502d7a8ec7337d664b (patch) | |
| tree | b1afe79f2c7f673eb807c31228430a201e15ced2 /components/libc/compilers/newlib | |
| parent | 69dc37e1aa8806d3ef17b8f6fa3d33284b26ef60 (diff) | |
update
Diffstat (limited to 'components/libc/compilers/newlib')
| -rw-r--r-- | components/libc/compilers/newlib/syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/compilers/newlib/syscalls.c b/components/libc/compilers/newlib/syscalls.c index 28e1808e3f..45aa4a34de 100644 --- a/components/libc/compilers/newlib/syscalls.c +++ b/components/libc/compilers/newlib/syscalls.c @@ -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 |
