This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 0f8ecc0150 libs/libc: export exit() if configured in flat mode 0f8ecc0150 is described below commit 0f8ecc015048e08d5a639cbca5660e66bd42cb16 Author: chao an <anc...@xiaomi.com> AuthorDate: Thu Feb 23 09:57:28 2023 +0800 libs/libc: export exit() if configured in flat mode Signed-off-by: chao an <anc...@xiaomi.com> --- libs/libc/stdlib/lib_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/stdlib/lib_exit.c b/libs/libc/stdlib/lib_exit.c index b9fa15b861..157dd174f7 100644 --- a/libs/libc/stdlib/lib_exit.c +++ b/libs/libc/stdlib/lib_exit.c @@ -31,7 +31,7 @@ #include <stdlib.h> #include <unistd.h> -#ifndef __KERNEL__ +#if defined(CONFIG_BUILD_FLAT) || !defined(__KERNEL__) /**************************************************************************** * Private Data