mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
stdio.h:Remove unnecessary header file, app header change
stdio.h remove <nuttx/xxxx.h> Some .c previously depended on <nuttx/xxx.h> and needed to be added to .c instead of stdio.h Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <nuttx/lib/lib.h>
|
||||
|
||||
#include "nsh.h"
|
||||
#include "nsh_console.h"
|
||||
|
||||
|
@@ -26,6 +26,7 @@
|
||||
#include <nuttx/event.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sched.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "ostest.h"
|
||||
|
@@ -25,6 +25,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <sys/wait.h>
|
||||
#include <stdio.h>
|
||||
#include <sched.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <assert.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef CONFIG_STDIO_DISABLE_BUFFERING
|
||||
|
||||
|
@@ -32,6 +32,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <debug.h>
|
||||
|
Reference in New Issue
Block a user