mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
libc/stdio: Allocate file_struct dynamically
1.Reduce the default size of task_group_s(~512B each task) 2.Scale better between simple and complex application Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ia872137504fddcf64d89c48d6f0593d76d582710
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
#include <nuttx/fs/fs.h>
|
||||
|
||||
#if CONFIG_NFILE_STREAMS > 0
|
||||
#ifdef CONFIG_FILE_STREAM
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -67,4 +67,4 @@ int fileno(FAR FILE *stream)
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_NFILE_STREAMS */
|
||||
#endif /* CONFIG_FILE_STREAM */
|
||||
|
||||
Reference in New Issue
Block a user