]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: wget: fix implicit declaration
authorMichael Walle <michael@walle.cc>
Wed, 28 Dec 2022 15:27:14 +0000 (16:27 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 29 Dec 2022 14:50:53 +0000 (09:50 -0500)
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@walle.cc>
net/wget.c

index 3826c4b3644731e95144d540ccca503f8662bb6a..eebdf80eb5413c004d5df44f1729dc7d055caa75 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <command.h>
 #include <common.h>
+#include <display_options.h>
 #include <env.h>
 #include <image.h>
 #include <mapmem.h>