]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: add static to do_tftpput()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:49:10 +0000 (16:49 +0900)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Aug 2017 20:18:29 +0000 (15:18 -0500)
This is only used in cmd/net.c

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/net.c

index df8b6c9b53f09e5dfb2aae6ce05ab871de22dab0..5e91d3ab8a19584bc404f8117518b5dbb20fbac5 100644 (file)
--- 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);
 }