diff --git a/components/libc/compilers/newlib/syscalls.c b/components/libc/compilers/newlib/syscalls.c index 916922a7fe..aee8ac360d 100644 --- a/components/libc/compilers/newlib/syscalls.c +++ b/components/libc/compilers/newlib/syscalls.c @@ -283,6 +283,7 @@ _free_r (struct _reent *ptr, void *addr) rt_free (addr); } +/* for exit() and abort() */ __attribute__ ((noreturn)) void _exit (int status) {