mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
libs/libc: export exit() if configured in flat mode
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifndef __KERNEL__
|
#if defined(CONFIG_BUILD_FLAT) || !defined(__KERNEL__)
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Data
|
* Private Data
|
||||||
|
|||||||
Reference in New Issue
Block a user