syscall: nx_task_spawn should exist in the flat build just like the protected build

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-02 18:36:48 +08:00
committed by patacongo
parent 54d0256b9a
commit 31c60c3b0e
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ extern "C"
void add_file_action(FAR posix_spawn_file_actions_t *file_action,
FAR struct spawn_general_file_action_s *entry);
#ifdef CONFIG_BUILD_PROTECTED
#if defined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL)
int nx_task_spawn(FAR const struct spawn_syscall_parms_s *parms);
#endif