[PATCH 1/2] net: wget: fix implicit declaration

Michael Walle michael at walle.cc
Wed Dec 28 16:27:14 CET 2022


The compiler complains about the missing declaration of print_size():
net/wget.c:415:3: warning: implicit declaration of function ‘print_size’ [-Wimplicit-function-declaration]

Fix it.

Signed-off-by: Michael Walle <michael at walle.cc>
---
 net/wget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/wget.c b/net/wget.c
index 3826c4b364..eebdf80eb5 100644
--- a/net/wget.c
+++ b/net/wget.c
@@ -6,6 +6,7 @@
 
 #include <command.h>
 #include <common.h>
+#include <display_options.h>
 #include <env.h>
 #include <image.h>
 #include <mapmem.h>
-- 
2.30.2



More information about the U-Boot mailing list