diff options
| author | Meco Man <[email protected]> | 2023-12-30 21:52:52 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-01-02 21:25:26 +0800 |
| commit | 6cc63626d7f29534b5264c3fa1a4d04e8547eb37 (patch) | |
| tree | 3d5dcb4337cd396de83b8b4131d1252d081e4fe1 /components/libc/compilers/armlibc | |
| parent | 92bd28f22bcdc2e0a72803cf65afe9bb2a387ad6 (diff) | |
fix some -Wmissing-prototypes warnings
Diffstat (limited to 'components/libc/compilers/armlibc')
| -rw-r--r-- | components/libc/compilers/armlibc/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/armlibc/syscalls.c b/components/libc/compilers/armlibc/syscalls.c index 5f7bcd0179..9998157178 100644 --- a/components/libc/compilers/armlibc/syscalls.c +++ b/components/libc/compilers/armlibc/syscalls.c @@ -25,6 +25,7 @@ #ifdef RT_USING_POSIX_STDIO #include <posix/stdio.h> #endif /* RT_USING_POSIX_STDIO */ +#include <posix/stdlib.h> #define DBG_TAG "armlibc.syscalls" #define DBG_LVL DBG_INFO @@ -312,7 +313,6 @@ void _ttywrch(int ch) /* for exit() and abort() */ rt_weak void _sys_exit(int return_code) { - extern void __rt_libc_exit(int status); __rt_libc_exit(return_code); while (1); } |
