From dfbf408567e74207cdb30c81f982668b7b5724f9 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Fri, 8 Nov 2024 16:03:18 +0800 Subject: [PATCH] stdio.h:Remove unnecessary header file, app header change stdio.h remove Some .c previously depended on and needed to be added to .c instead of stdio.h Signed-off-by: anjiahao --- nshlib/nsh_fsutils.c | 2 ++ testing/ostest/nxevent.c | 1 + testing/ostest/pthread_exit.c | 1 + testing/ostest/setjmp.c | 1 + testing/ostest/setvbuf.c | 1 + testing/ostest/signest.c | 1 + 6 files changed, 7 insertions(+) diff --git a/nshlib/nsh_fsutils.c b/nshlib/nsh_fsutils.c index 50f67d6d6..48ddf74c8 100644 --- a/nshlib/nsh_fsutils.c +++ b/nshlib/nsh_fsutils.c @@ -36,6 +36,8 @@ #include #include +#include + #include "nsh.h" #include "nsh_console.h" diff --git a/testing/ostest/nxevent.c b/testing/ostest/nxevent.c index d2aa60bb3..058c942dd 100644 --- a/testing/ostest/nxevent.c +++ b/testing/ostest/nxevent.c @@ -26,6 +26,7 @@ #include #include +#include #include #include "ostest.h" diff --git a/testing/ostest/pthread_exit.c b/testing/ostest/pthread_exit.c index 179a659aa..1a95fa75c 100644 --- a/testing/ostest/pthread_exit.c +++ b/testing/ostest/pthread_exit.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/testing/ostest/setjmp.c b/testing/ostest/setjmp.c index 4d5461d36..75ee42958 100644 --- a/testing/ostest/setjmp.c +++ b/testing/ostest/setjmp.c @@ -27,6 +27,7 @@ #include #include #include +#include /**************************************************************************** * Public Functions diff --git a/testing/ostest/setvbuf.c b/testing/ostest/setvbuf.c index 636332657..b2d198b26 100644 --- a/testing/ostest/setvbuf.c +++ b/testing/ostest/setvbuf.c @@ -26,6 +26,7 @@ #include #include +#include #ifndef CONFIG_STDIO_DISABLE_BUFFERING diff --git a/testing/ostest/signest.c b/testing/ostest/signest.c index 59a801750..69ba7f997 100644 --- a/testing/ostest/signest.c +++ b/testing/ostest/signest.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include