diff mbox series

[v2,13/30] sandbox: Drop inclusion of os.h in sscanf.c

Message ID 20230430013003.1047454-14-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Allow building sandbox with MSYS2 | expand

Commit Message

Simon Glass April 30, 2023, 1:29 a.m. UTC
There is no need for this file and it should not be included unless
sandbox is being used. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 lib/sscanf.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bin Meng May 1, 2023, 4:38 a.m. UTC | #1
On Sun, Apr 30, 2023 at 9:30 AM Simon Glass <sjg@chromium.org> wrote:
>
> There is no need for this file and it should not be included unless
> sandbox is being used. Drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> (no changes since v1)
>
>  lib/sscanf.c | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng@tinylab.org>
diff mbox series

Patch

diff --git a/lib/sscanf.c b/lib/sscanf.c
index 4c35c035fe10..b79f6d79255c 100644
--- a/lib/sscanf.c
+++ b/lib/sscanf.c
@@ -17,7 +17,6 @@ 
 
 #if !defined HAVE_LIBC
 
-#include <os.h>
 #include <linux/kernel.h>
 #include <linux/ctype.h>
 #include <vsprintf.h>