[U-Boot] [PATCH] net: add static to do_tftpput()

Masahiro Yamada yamada.masahiro at socionext.com
Thu Jun 22 07:49:10 UTC 2017


This is only used in cmd/net.c

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 cmd/net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/net.c b/cmd/net.c
index df8b6c9b53f0..5e91d3ab8a19 100644
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -42,7 +42,7 @@ U_BOOT_CMD(
 );
 
 #ifdef CONFIG_CMD_TFTPPUT
-int do_tftpput(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_tftpput(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 	return netboot_common(TFTPPUT, cmdtp, argc, argv);
 }
-- 
2.7.4



More information about the U-Boot mailing list