summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 16:49:10 +0900
committerJoe Hershberger <joe.hershberger@ni.com>2017-08-07 15:18:29 -0500
commit0c1b869b2eb27a8acb2db24c5b2b685af21ba7f2 (patch)
treef8fa63265bfb88e8b8a774d52106dd391850b28f
parentb044cc1dee8f8af4dcad6ca2ef3ff4f577b79229 (diff)
net: add static to do_tftpput()
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>
-rw-r--r--cmd/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/net.c b/cmd/net.c
index df8b6c9b53..5e91d3ab8a 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);
}