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/dlib | |
| parent | 92bd28f22bcdc2e0a72803cf65afe9bb2a387ad6 (diff) | |
fix some -Wmissing-prototypes warnings
Diffstat (limited to 'components/libc/compilers/dlib')
| -rw-r--r-- | components/libc/compilers/dlib/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/syscalls.c b/components/libc/compilers/dlib/syscalls.c index 391cbcac8a..328acc8bb1 100644 --- a/components/libc/compilers/dlib/syscalls.c +++ b/components/libc/compilers/dlib/syscalls.c @@ -9,11 +9,11 @@ */ #include <rtthread.h> +#include <posix/stdlib.h> /* for exit() and abort() */ void __exit (int status) { - extern void __rt_libc_exit(int status); __rt_libc_exit(status); while(1); } |
